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
Code Topology Notation
Search
Ivan Nemytchenko
September 12, 2024
Programming
200
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Code Topology Notation
Ivan Nemytchenko
September 12, 2024
More Decks by Ivan Nemytchenko
See All by Ivan Nemytchenko
Semantic_AI_knowledge.pdf
inem
0
43
The Shape of a Service Object
inem
0
1.6k
The Curse of Service Object
inem
0
380
Modern Make for modern (Rails) programmers
inem
0
140
Откуда берется сложность в Rails-проектах и куда бы её деть?
inem
0
330
Rails без боли и оверинжиниринга
inem
0
620
Painless Rails: наводим порядок в контроллерах
inem
0
340
Less Abstract! Surprising effects of expressing OOP in pictures
inem
1
670
Pure functions and side effects
inem
0
94
Other Decks in Programming
See All in Programming
Oxlintはいいぞ(続)
yug1224
1
470
AIの中の人になってみる
htkym
0
140
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
280
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
260
複数の Claude Code が"放置"されてしまう問題をCLI ダッシュボードを自作して解決した話
sumihiro3
1
740
My Marp Sample
sinoue0108
0
120
AI時代に学ぶ 好きなルール 嫌いなルール Linter編
shorty5121
0
190
Dockerfile CMD for Node.js
grazie1999
0
140
tsc.rip を支える技術 / Kyoto.なんか #8
susisu
0
3.7k
思考垂れ流し開発 ~音声入力 × AIエージェント × 開発ハーネスによる試行錯誤~
npostring
0
380
自動化したのに回らない テスト運用の壁―AI時代の品質責任と生産性
mfunaki
0
530
承認済みなのに差戻しできてしまうバグ、型で潰せます
shinchit
0
120
Featured
See All Featured
Chasing Engaging Ingredients in Design
codingconduct
0
290
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
500
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
Code Review Best Practice
trishagee
74
20k
We Are The Robots
honzajavorek
0
310
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
280
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
380
The Curse of the Amulet
leimatthew05
2
14k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.9k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
490
Prompt Engineering for Job Search
mfonobong
0
420
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Transcript
CODE TOPOLOGY NOTATION
Kettle components (objects) small dudes == objects
Objects with methods! hands == methods
A method number of fi ngers == number of arguments
Instance variables Stored inside the brain
Instance variables Can be reused later
Returning results
Private methods
Exception
Anti-patterns
Too many arguments
Too many methods
Too long methods
Too many instance variables
Too much conditional logic in methods Swallen arms
Too much of everything!!!
Classes A spawning platform
Classes A spawning platform
same topology Object & classes have the
Dependencies have to remember about classes to use them
Dependency Injection Instead of remembering thing we pass them as
arguments
Visual representation of code complexity
None
None
None
None
None
None