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 Trails
Search
Martin Van Aken
March 04, 2014
Programming
1
290
Code Trails
Talk given at Paris.rb about seeing code as trail signs for future developers.
Martin Van Aken
March 04, 2014
Tweet
Share
More Decks by Martin Van Aken
See All by Martin Van Aken
I've an idea, let's do a webapp - or not
vanakenm
0
250
From a workflow to a flow that works
vanakenm
0
230
Get a peer
vanakenm
0
68
Other Decks in Programming
See All in Programming
日付と正規化
megmogmog1965
0
140
さきがけから振り返るアーキテクチャ刷新 / Reflecting on the Architectural Renewal from the Vanguard
nrslib
2
780
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
2
81k
CSC307 Lecture 08
javiergs
PRO
0
330
CSC307 Lecture 11
javiergs
PRO
0
240
Polarsの成長: v0.14からv1.0までの変遷と今後の展望
zerebom
1
350
データカタログ運用物語 〜令和6年夏の理想と現実〜
kuro_kurorrr
0
110
Rust.Nagoya #1
codemountains
0
170
Rustのweb開発を助ける 便利なツール紹介
yuki0418
1
190
CSC307 Lecture 05
javiergs
PRO
0
210
feature環境をGitHub ActionsとCloudFormationでいい感じに管理する
nealle
2
310
なぜ宣言的 UI は壊れにくいのか / Why declarative UI is less fragile
uenitty
29
13k
Featured
See All Featured
Speed Design
sergeychernyshev
9
270
Clear Off the Table
cherdarchuk
89
320k
RailsConf 2023
tenderlove
16
720
Ruby is Unlike a Banana
tanoku
96
10k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
189
16k
Making the Leap to Tech Lead
cromwellryan
127
8.7k
Visualization
eitanlees
139
14k
How To Stay Up To Date on Web Technology
chriscoyier
784
250k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
78
15k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
360
22k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
The Invisible Customer
myddelton
117
13k
Transcript
Code Signs Code as a Trail
About.me • Co-founder at 8th color • http://pullreview.com • @martinvanaken
• blog.8thcolor.com (Ruby, Code Reviews) Learning, reading, laughing
Martin: J’ai une idée de petit talk, intéressé? Sylvain: Toujours,
le CFP permanent est là Martin: Chouette, soumis. … Martin: Tiens, quand/comment faites-vous la sélection? Sylvain: Pas besoin. De facto pour le prochain :) Martin: Et le prochain c’est… Mardi. Ah. Bon, je vais prendre mes billets de train.
What is code?
None
None
None
Another vision
None
None
Why?
You’ll need to get back Maintenance: up to 80%
Other people will need to get back You Are Not
Alone
It will be at night
None
It will rain
None
The trail will be old
None
Avoid being misleading
None
Misleading names
Misleading comments
Dead code
Drop your stones
Name things
Name things
Name things
Put code where it belongs
Put code where it belongs
Put code where it belongs
Be stylish
Be stylish
Avoid complexity
None
None
Test your trail
Test your trail Q: How to know if your code
is readable?
Test your trail A: Read it yourself A: Have it
read by someone → Code Reviews
Always code as if the guy who ends up maintaining
your code will be a violent psychopath who knows where you live
Code for Humans
Thanks for us!