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
230
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
250
HTTP/2
oursky
0
290
watchOS2
oursky
0
220
Common QA issues
oursky
0
150
Clean code again
oursky
3
310
KiriKiri x O2 x NVLMarker
oursky
0
160
Flux + React
oursky
1
330
git_workflow.pdf
oursky
0
240
Other Decks in Programming
See All in Programming
Java 22 Overview
kishida
1
190
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
930
"config" ってなんだ? / What is "config"?
okashoi
0
240
新宿ダンジョンを可視化してみた
satoshi7190
2
270
二郎系ラーメンのコールで学ぶ AST 解析
memory1994
PRO
7
1.7k
Snowflakeで眠ったデータを起こそう!
estie
0
130
MicrosoftのPlatform Engineeringガイドを読んで実際になにかやってみた
ymd65536
1
470
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
1k
What We Can Learn From OSS
inouehi
0
430
ゆるい個人開発のススメ
kuroppe1819
10
1k
Goのmultiple errorsについて (2024年4月版)
syumai
4
1.1k
Site Reliability Engineering for GMO
pyama86
8
1.1k
Featured
See All Featured
How to Ace a Technical Interview
jacobian
273
22k
Bash Introduction
62gerente
605
210k
Clear Off the Table
cherdarchuk
85
310k
Creatively Recalculating Your Daily Design Routine
revolveconf
211
11k
Web development in the modern age
philhawksworth
203
10k
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.1k
Facilitating Awesome Meetings
lara
43
5.6k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.1k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
123
39k
How STYLIGHT went responsive
nonsquared
92
4.8k
Infographics Made Easy
chrislema
238
18k
Gamification - CAS2011
davidbonilla
76
4.6k
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