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
280
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
500
SSH Can
oursky
1
310
HTTP/2
oursky
0
340
watchOS2
oursky
0
330
Common QA issues
oursky
0
200
Clean code again
oursky
3
370
KiriKiri x O2 x NVLMarker
oursky
0
230
Flux + React
oursky
1
380
git_workflow.pdf
oursky
0
290
Other Decks in Programming
See All in Programming
Swift Concurrency 年表クイズ
omochi
3
220
Kotlin 2.2が切り拓く: コンテキストパラメータで書く関数型DSLと新しい依存管理のかたち
knih
0
400
What's New in Web AI?
christianliebel
PRO
0
120
flutter_kaigi_2025.pdf
kyoheig3
1
190
Claude Code on the Web を超える!? Codex Cloud の実践テク5選
sunagaku
0
470
仕様がそのままテストになる!Javaで始める振る舞い駆動開発
ohmori_yusuke
2
1.2k
Verilator + Rust + gRPC と Efinix の RISC-V でAIアクセラレータをAIで作ってる話 RTLを語る会(18) 2025/11/08
ryuz88
0
330
Blazing Fast UI Development with Compose Hot Reload (droidcon London 2025)
zsmb
0
500
エンジニアに事業やプロダクトを理解してもらうためにやってること
murabayashi
0
140
Eloquentを使ってどこまでコードの治安を保てるのか?を新人が考察してみた
itokoh0405
0
3.1k
Vueのバリデーション、結局どれを選べばいい? ― 自作バリデーションの限界と、脱却までの道のり ― / Which Vue Validation Library Should We Really Use? The Limits of Self-Made Validation and How I Finally Moved On
neginasu
3
1.8k
予防に勝る防御なし(2025年版) - 堅牢なコードを導く様々な設計のヒント / Growing Reliable Code PHP Conference Fukuoka 2025
twada
PRO
35
11k
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
KATA
mclloyd
PRO
32
15k
How to Ace a Technical Interview
jacobian
280
24k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Building Adaptive Systems
keathley
44
2.8k
Side Projects
sachag
455
43k
Navigating Team Friction
lara
190
15k
Docker and Python
trallard
46
3.6k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
24
1.5k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
660
Testing 201, or: Great Expectations
jmmastey
46
7.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