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
430
SSH Can
oursky
1
260
HTTP/2
oursky
0
290
watchOS2
oursky
0
240
Common QA issues
oursky
0
160
Clean code again
oursky
3
310
KiriKiri x O2 x NVLMarker
oursky
0
170
Flux + React
oursky
1
340
git_workflow.pdf
oursky
0
240
Other Decks in Programming
See All in Programming
なぜ宣言的 UI は壊れにくいのか / Why declarative UI is less fragile
uenitty
29
13k
MIERUNE BBQにおけるユーザー中心設計()
mierune
PRO
1
110
みんなのオブザーバビリティプラットフォームを作ってるんだがパフォーマンスがやばい #mackerelio #srenext
ne_sachirou
0
370
Namespace on read
tagomoris
2
370
最近追加した型の紹介とその振り返り
aki19035vc
0
170
継続的な活動で築く地方エンジニアの道
myamashii
2
350
Rustのweb開発を助ける 便利なツール紹介
yuki0418
1
190
Microservices rules (July 2024) : what good looks like
cer
PRO
0
1.6k
実用的かつリーズナブルな 「Azure × Gemini × LINE」~キャラクターBot 実装ライブデモ~
tomodo_ysys
1
170
3 Effective Rules for Success with Signals in Angular
manfredsteyer
PRO
0
120
Introduction of Happy Eyeballs Version 2 (RFC8305) to the Socket library
coe401_
1
220
AHC035解説
terryu16
0
710
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
63
11k
For a Future-Friendly Web
brad_frost
173
9.2k
RailsConf 2023
tenderlove
16
720
The Invisible Side of Design
smashingmag
294
50k
GraphQLの誤解/rethinking-graphql
sonatard
59
9.6k
Creatively Recalculating Your Daily Design Routine
revolveconf
214
11k
Building Your Own Lightsaber
phodgson
101
5.9k
How to Think Like a Performance Engineer
csswizardry
4
590
A designer walks into a library…
pauljervisheath
201
24k
The Invisible Customer
myddelton
117
13k
Building a Modern Day E-commerce SEO Strategy
aleyda
25
6.7k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
36
9.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