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
320
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
270
From a workflow to a flow that works
vanakenm
0
250
Get a peer
vanakenm
0
74
Other Decks in Programming
See All in Programming
WindowInsetsだってテストしたい
ryunen344
1
120
コードに語らせよう――自己ドキュメント化が内包する楽しさについて / Let the Code Speak
nrslib
6
1.4k
インターフェース設計のコツとツボ
togishima
2
710
A comprehensive view of refactoring
marabesi
0
120
List Unfolding - 'unfold' as the Computational Dual of 'fold', and how 'unfold' relates to 'iterate'"
philipschwarz
PRO
0
190
事業戦略を理解してソフトウェアを設計する
masuda220
PRO
22
6k
Perlで痩せる
yuukis
1
680
カクヨムAndroidアプリのリブート
numeroanddev
0
410
XSLTで作るBrainfuck処理系
makki_d
0
190
データベースコネクションプール(DBCP)の変遷と理解
fujikawa8
1
250
統一感のある Go コードを生成 AI の力で手にいれる
otakakot
0
3k
Cloudflare Realtime と Workers でつくるサーバーレス WebRTC
nekoya3
0
390
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Faster Mobile Websites
deanohume
307
31k
How GitHub (no longer) Works
holman
314
140k
Stop Working from a Prison Cell
hatefulcrawdad
269
20k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
650
How to Ace a Technical Interview
jacobian
276
23k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
123
52k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
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!