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
250
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
450
SSH Can
oursky
1
270
HTTP/2
oursky
0
310
watchOS2
oursky
0
270
Common QA issues
oursky
0
170
Clean code again
oursky
3
330
KiriKiri x O2 x NVLMarker
oursky
0
190
Flux + React
oursky
1
350
git_workflow.pdf
oursky
0
260
Other Decks in Programming
See All in Programming
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
CSC509 Lecture 14
javiergs
PRO
0
140
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
360
17年周年のWebアプリケーションにTanStack Queryを導入する / Implementing TanStack Query in a 17th Anniversary Web Application
saitolume
0
250
Effective Signals in Angular 19+: Rules and Helpers @ngbe2024
manfredsteyer
PRO
0
130
rails stats で紐解く ANDPAD のイマを支える技術たち
andpad
1
290
今年一番支援させていただいたのは認証系サービスでした
satoshi256kbyte
1
250
【re:Growth 2024】 Aurora DSQL をちゃんと話します!
maroon1st
0
770
htmxって知っていますか?次世代のHTML
hiro_ghap1
0
330
Haze - Real time background blurring
chrisbanes
1
510
Mermaid x AST x 生成AI = コードとドキュメントの完全同期への道
shibuyamizuho
0
160
Zoneless Testing
rainerhahnekamp
0
120
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
A better future with KSS
kneath
238
17k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Unsuck your backbone
ammeep
669
57k
Rails Girls Zürich Keynote
gr2m
94
13k
A designer walks into a library…
pauljervisheath
204
24k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
Fireside Chat
paigeccino
34
3.1k
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