Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Complex is better than complicated
Oursky Limited
July 10, 2015
Programming
0
200
Complex is better than complicated
Oursky Limited
July 10, 2015
Tweet
Share
More Decks by Oursky Limited
See All by Oursky Limited
UI Automation
oursky
1
410
SSH Can
oursky
1
240
HTTP/2
oursky
0
260
watchOS2
oursky
0
150
Common QA issues
oursky
0
120
Clean code again
oursky
3
280
KiriKiri x O2 x NVLMarker
oursky
0
120
Flux + React
oursky
1
290
git_workflow.pdf
oursky
0
200
Other Decks in Programming
See All in Programming
Register-based calling convention for Go functions
cjamhe01385
0
410
There's an API for that!
mariatta
PRO
0
110
アジャイルで始める データ分析基盤構築
nagano
1
910
パスワードに関する最近の動向
kenchan0130
1
330
2022年のモダンCSS改
tonkotsuboy_com
24
17k
Regular expressions basics/正規表現の基本
kishikawakatsumi
6
260
一口目から美味しいReactのスルメ本🦑
taro28
2
660
Enzyme から React Native Testing Library に移行した経緯 / 2022-07-20
tamago3keran
1
160
このタイミングで知っておきたい 開発生産性の高いエンジニア組織の特徴とは / dev-sumi-20220721-productivity-features
findyinc
7
2.7k
SRE NEXT 2022に学ぶこれからのSREキャリア
fukubaka0825
2
390
ZOZOTOWNにおけるDatadogの活用と、それを支える全社管理者の取り組み / 2022-07-27
tippy
1
3.3k
読みやすいコード クラスメソッド 2022 年度新卒研修
januswel
0
2.9k
Featured
See All Featured
Writing Fast Ruby
sferik
612
57k
Optimizing for Happiness
mojombo
364
64k
How to name files
jennybc
40
63k
Rebuilding a faster, lazier Slack
samanthasiow
62
7.3k
The Invisible Side of Design
smashingmag
290
48k
What's new in Ruby 2.0
geeforr
335
30k
Why You Should Never Use an ORM
jnunemaker
PRO
47
7.7k
Building Adaptive Systems
keathley
25
1.2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
39
13k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
37
3.3k
Designing on Purpose - Digital PM Summit 2013
jponch
106
5.7k
Automating Front-end Workflow
addyosmani
1351
200k
Transcript
Complex is better than complicated
We build complex software
We don’t want complicated code
Cyclomatic complexity • M = E − N + 2P
• E = the number of edges of the graph. • N = the number of nodes of the graph. • P = the number of connected components. • https://en.wikipedia.org/wiki/Cyclomatic_complexity
Limiting complicated code • National Institute of Standards and Technology
- 10 • Either • Under the limit • Provide a written explanation of why it become so complicated
Software • C/C++/Objective C - https://github.com/terryyin/ lizard • golang -
https://github.com/fzipp/gocyclo • Python - https://github.com/rubik/radon • Javascript - https://github.com/es-analysis/plato
It can’t help • Stupid architect design • Human readability
• Software Quality