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
240
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
440
SSH Can
oursky
1
260
HTTP/2
oursky
0
300
watchOS2
oursky
0
250
Common QA issues
oursky
0
170
Clean code again
oursky
3
320
KiriKiri x O2 x NVLMarker
oursky
0
180
Flux + React
oursky
1
340
git_workflow.pdf
oursky
0
250
Other Decks in Programming
See All in Programming
Some more adventure of Happy Eyeballs
coe401_
2
190
Kotlin 2.0が与えるAndroid開発の進化
masayukisuda
1
410
Rubyのobject_id
qnighy
6
1.3k
Scala におけるコンパイラエラーとの付き合い方
chencmd
2
430
rbs-inlineを導入してYARDからRBSに移行する
euglena1215
1
290
[DroidKaigi 2024] Android ViewからJetpack Composeへ 〜Jetpack Compose移行のすゝめ〜 / From Android View to Jetpack Compose: A Guide to Migration
syarihu
1
630
Android開発以外のAndroid開発経験の活かしどころ
konifar
2
1k
Perl 5 OOP機構30年史 - Perl 5's OOP Mechanism over the past 30 years
moznion
0
270
LangChainの現在とv0.3にむけて
os1ma
4
920
Jakarta EE meets AI
ivargrimstad
1
520
大公開!iOS開発の悩みトップ5 〜iOSDC Japan 2024〜
ryunakayama
0
190
From Idea to IDE: Developing Plugins for Android Studio
thisaay
1
220
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
39
2.3k
Rails Girls Zürich Keynote
gr2m
93
13k
Building Better People: How to give real-time feedback that sticks.
wjessup
359
19k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Fontdeck: Realign not Redesign
paulrobertlloyd
80
5.1k
Building Adaptive Systems
keathley
36
2.1k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
Faster Mobile Websites
deanohume
304
30k
Fashionably flexible responsive web design (full day workshop)
malarkey
401
65k
4 Signs Your Business is Dying
shpigford
179
21k
Building a Modern Day E-commerce SEO Strategy
aleyda
36
6.8k
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