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
0
20
Code Topology Notation
Ivan Nemytchenko
September 12, 2024
Tweet
Share
More Decks by Ivan Nemytchenko
See All by Ivan Nemytchenko
The Shape of a Service Object
inem
0
520
The Curse of Service Object
inem
0
240
Modern Make for modern (Rails) programmers
inem
0
70
Откуда берется сложность в Rails-проектах и куда бы её деть?
inem
0
260
Rails без боли и оверинжиниринга
inem
0
360
Painless Rails: наводим порядок в контроллерах
inem
0
240
Less Abstract! Surprising effects of expressing OOP in pictures
inem
1
540
Pure functions and side effects
inem
0
38
Solving architectural problems with OOP in pictures
inem
1
5.6k
Other Decks in Programming
See All in Programming
Method Swizzlingを行うライブラリにおけるマルチモジュール設計
yoshikma
0
120
LangChainの現在とv0.3にむけて
os1ma
4
920
unique パッケージから学ぶ interning と weak reference @ Asakusa.go#3
karamaru
2
810
LangGraphでのHuman-in-the-Loopの実装
os1ma
3
1.1k
いまから追い上げる、Jetpack Compose トレーニング
nyafunta9858
0
570
エラーレスポンス設計から考える、0→1開発におけるGraphQLへの向き合い方
bicstone
5
1.5k
AndroidアプリのUIバリエーションをあの手この手で確認する / Check UI variations of Android apps by various means
tkmnzm
1
150
Swiftコードバトル必勝法
toshi0383
0
150
サーバーレスで負荷試験!Step Functions + Lambdaを使ったk6の分散実行
shuntakahashi
6
1.6k
実践!難読化ガイド
mitchan
0
160
僕が思い描くTypeScriptの未来を勝手に先取りする
yukukotani
9
2.4k
ECMAScript、Web標準の型はどう管理されているか / How ECMAScript and Web standards types are maintained
petamoriken
3
390
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
354
29k
Infographics Made Easy
chrislema
239
18k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.4k
Fireside Chat
paigeccino
31
2.9k
Web development in the modern age
philhawksworth
205
10k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
32k
Building Better People: How to give real-time feedback that sticks.
wjessup
359
19k
Robots, Beer and Maslow
schacon
PRO
157
8.2k
Become a Pro
speakerdeck
PRO
22
4.9k
Fontdeck: Realign not Redesign
paulrobertlloyd
80
5.1k
KATA
mclloyd
27
13k
Gamification - CAS2011
davidbonilla
79
5k
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