Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
290
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
510
SSH Can
oursky
1
320
HTTP/2
oursky
0
360
watchOS2
oursky
0
340
Common QA issues
oursky
0
210
Clean code again
oursky
3
380
KiriKiri x O2 x NVLMarker
oursky
0
240
Flux + React
oursky
1
390
git_workflow.pdf
oursky
0
290
Other Decks in Programming
See All in Programming
Rubyで鍛える仕組み化プロヂュース力
muryoimpl
0
150
AIコーディングエージェント(Gemini)
kondai24
0
260
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
180
20251212 AI 時代的 Legacy Code 營救術 2025 WebConf
mouson
0
200
開発に寄りそう自動テストの実現
goyoki
2
1.4k
從冷知識到漏洞,你不懂的 Web,駭客懂 - Huli @ WebConf Taiwan 2025
aszx87410
2
2.9k
Patterns of Patterns
denyspoltorak
0
190
Go コードベースの構成と AI コンテキスト定義
andpad
0
130
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
440
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
170
AIエンジニアリングのご紹介 / Introduction to AI Engineering
rkaga
8
3.2k
TestingOsaka6_Ozono
o3
0
170
Featured
See All Featured
Marketing to machines
jonoalderson
1
4.3k
Done Done
chrislema
186
16k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
65
Designing Powerful Visuals for Engaging Learning
tmiket
0
180
Leadership Guide Workshop - DevTernity 2021
reverentgeek
0
160
Raft: Consensus for Rubyists
vanstee
141
7.2k
Thoughts on Productivity
jonyablonski
73
5k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
49
The Spectacular Lies of Maps
axbom
PRO
1
400
Designing for Performance
lara
610
69k
Designing for humans not robots
tammielis
254
26k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
31
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