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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ivan Nemytchenko
September 12, 2024
Programming
180
0
Share
Code Topology Notation
Ivan Nemytchenko
September 12, 2024
More Decks by Ivan Nemytchenko
See All by Ivan Nemytchenko
Semantic_AI_knowledge.pdf
inem
0
25
The Shape of a Service Object
inem
0
1.5k
The Curse of Service Object
inem
0
360
Modern Make for modern (Rails) programmers
inem
0
130
Откуда берется сложность в Rails-проектах и куда бы её деть?
inem
0
330
Rails без боли и оверинжиниринга
inem
0
600
Painless Rails: наводим порядок в контроллерах
inem
0
330
Less Abstract! Surprising effects of expressing OOP in pictures
inem
1
660
Pure functions and side effects
inem
0
82
Other Decks in Programming
See All in Programming
How Swift's Type System Guides AI Agents
koher
0
250
10年分の技術的負債、完済へ ― Claude Code主導のAI駆動開発でスポーツブルを丸ごとリプレイスした話
takuya_houshima
0
2.5k
CDK Deployのための ”反響定位”
watany
4
750
Coding as Prompting Since 2025
ragingwind
0
830
YJITとZJITにはイカなる違いがあるのか?
nakiym
0
220
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
910
事業会社でのセキュリティ長期インターンについて
masachikaura
0
250
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
240
おれのAgentic Coding 2026/03
tsukasagr
1
140
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
150
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
240
SkillがSkillを生む:QA観点出しを自動化した
sontixyou
6
3.4k
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
The untapped power of vector embeddings
frankvandijk
2
1.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
Designing Powerful Visuals for Engaging Learning
tmiket
1
340
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
180
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
160
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
260
Building Applications with DynamoDB
mza
96
7k
Leo the Paperboy
mayatellez
7
1.7k
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