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
100
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
1k
The Curse of Service Object
inem
0
310
Modern Make for modern (Rails) programmers
inem
0
84
Откуда берется сложность в Rails-проектах и куда бы её деть?
inem
0
280
Rails без боли и оверинжиниринга
inem
0
480
Painless Rails: наводим порядок в контроллерах
inem
0
270
Less Abstract! Surprising effects of expressing OOP in pictures
inem
1
610
Pure functions and side effects
inem
0
48
Solving architectural problems with OOP in pictures
inem
1
5.9k
Other Decks in Programming
See All in Programming
Windows版PHPのビルド手順とPHP 8.4における変更点
matsuo_atsushi
0
390
SEAL - Dive into the sea of search engines - Symfony Live Berlin 2025
alexanderschranz
1
110
AtCoder Heuristic First-step Vol.1 講義スライド
terryu16
3
1.1k
Kubernetesで実現できるPlatform Engineering の現在地
nwiizo
3
1.8k
コンテナでLambdaをデプロイするときに知っておきたかったこと
_takahash
0
170
新卒から4年間、20年もののWebサービスと 向き合って学んだソフトウェア考古学
oguri
8
7.1k
Compose Hot Reload is here, stop re-launching your apps! (Android Makers 2025)
zsmb
1
310
Building a macOS screen saver with Kotlin (Android Makers 2025)
zsmb
1
100
PHPのガベージコレクションを深掘りしよう
rinchoku
0
260
AWS で実現する安全な AI エージェントの作り方 〜 Bedrock Engineer の実装例を添えて 〜 / how-to-build-secure-ai-agents
gawa
2
250
MCP世界への招待: AIエンジニアが創る次世代エージェント連携の世界
gunta
4
840
Devinのメモリ活用の学びを自社サービスにどう組み込むか?
itarutomy
0
1.9k
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
99
5.4k
Side Projects
sachag
452
42k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
28
1.6k
A Tale of Four Properties
chriscoyier
158
23k
Become a Pro
speakerdeck
PRO
27
5.2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
510
The Invisible Side of Design
smashingmag
299
50k
Facilitating Awesome Meetings
lara
53
6.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2.1k
For a Future-Friendly Web
brad_frost
176
9.6k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
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