Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Complex is better than complicated
Search
Oursky Limited
July 10, 2015
Programming
0
270
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
460
SSH Can
oursky
1
290
HTTP/2
oursky
0
320
watchOS2
oursky
0
300
Common QA issues
oursky
0
180
Clean code again
oursky
3
340
KiriKiri x O2 x NVLMarker
oursky
0
210
Flux + React
oursky
1
360
git_workflow.pdf
oursky
0
270
Other Decks in Programming
See All in Programming
KANNA Android の技術的課題と取り組み
watabee
0
170
Optimizing JRuby 10
headius
0
520
Bedrock × Confluenceで簡単(?)社内RAG
iharuoru
1
100
実践Webフロントパフォーマンスチューニング
cp20
42
9.6k
Cursor/Devin全社導入の理想と現実
saitoryc
27
20k
読書シェア会 vol.4 『ダイナミックリチーミング 第2版』
kotaro666
0
110
Boost Your Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
600
一緒に働きたくなるプログラマの思想 #QiitaConference
mu_zaru
77
19k
파급효과: From AI to Android Development
l2hyunwoo
0
150
七輪ライブラリー: Claude AI で作る Next.js アプリ
suneo3476
1
150
プロフェッショナルとしての成長「問題の深掘り」が導く真のスキルアップ / issue-analysis-and-skill-up
minodriven
8
1.9k
fieldalignmentから見るGoの構造体
kuro_kurorrr
0
130
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.3k
Designing Experiences People Love
moore
142
24k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.2k
Faster Mobile Websites
deanohume
306
31k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
The Cost Of JavaScript in 2023
addyosmani
49
7.8k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Automating Front-end Workflow
addyosmani
1370
200k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.2k
Done Done
chrislema
184
16k
Why Our Code Smells
bkeepers
PRO
336
57k
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