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
33
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
630
The Curse of Service Object
inem
0
250
Modern Make for modern (Rails) programmers
inem
0
72
Откуда берется сложность в Rails-проектах и куда бы её деть?
inem
0
260
Rails без боли и оверинжиниринга
inem
0
370
Painless Rails: наводим порядок в контроллерах
inem
0
250
Less Abstract! Surprising effects of expressing OOP in pictures
inem
1
550
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
モジュラモノリス、その前に / Modular monolith, before that
euglena1215
6
670
선언형 UI를 학습할 때 알아둬야하는 키워드들
l2hyunwoo
0
130
Pythonによるイベントソーシングへの挑戦と現状に対する考察 / Challenging Event Sourcing with Python and Reflections on the Current State
nrslib
3
1.2k
"Swarming" をコンセプトに掲げるアジャイルチームのベストプラクティス
boykush
2
230
perl for shell, awk and sed programmers
mackee
1
670
Pydantic x Database API:turu-pyの開発
yassun7010
1
560
データサイエンスのフルサイクル開発を実現する機械学習パイプライン
xcnkx
2
500
XP2024 っていう国際会議に行ってきたよの記
bonotake
4
210
M5Stackボードの選び方
tanakamasayuki
0
210
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
370
pytest プラグインを開発して DRY に自動テストを書こう
inuatsu
2
260
UnJSで簡単に始めるCLIツール開発 / cli-tool-development-with-unjs
aoseyuu
2
250
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
79
8.6k
Creatively Recalculating Your Daily Design Routine
revolveconf
217
12k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
22k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
7
570
Robots, Beer and Maslow
schacon
PRO
157
8.2k
The Art of Programming - Codeland 2020
erikaheidi
51
13k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.8k
From Idea to $5000 a Month in 5 Months
shpigford
380
46k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
130k
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
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