Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
500
SSH Can
oursky
1
310
HTTP/2
oursky
0
350
watchOS2
oursky
0
330
Common QA issues
oursky
0
210
Clean code again
oursky
3
370
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
GeistFabrik and AI-augmented software development
adewale
PRO
0
250
【CA.ai #3】ワークフローから見直すAIエージェント — 必要な場面と“選ばない”判断
satoaoaka
0
200
無秩序からの脱却 / Emergence from chaos
nrslib
2
12k
関数実行の裏側では何が起きているのか?
minop1205
1
530
エディターってAIで操作できるんだぜ
kis9a
0
640
全員アーキテクトで挑む、 巨大で高密度なドメインの紐解き方
agatan
8
18k
20 years of Symfony, what's next?
fabpot
2
310
S3 VectorsとStrands Agentsを利用したAgentic RAGシステムの構築
tosuri13
4
260
connect-python: convenient protobuf RPC for Python
anuraaga
0
350
堅牢なフロントエンドテスト基盤を構築するために行った取り組み
shogo4131
5
1.9k
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 1
philipschwarz
PRO
0
120
AI時代もSEOを頑張っている話
shirahama_x
0
220
Featured
See All Featured
A Tale of Four Properties
chriscoyier
162
23k
Site-Speed That Sticks
csswizardry
13
990
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.2k
Writing Fast Ruby
sferik
630
62k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Six Lessons from altMBA
skipperchong
29
4.1k
Code Review Best Practice
trishagee
73
19k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.8k
Agile that works and the tools we love
rasmusluckow
331
21k
4 Signs Your Business is Dying
shpigford
186
22k
Building an army of robots
kneath
306
46k
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