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
310
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
260
From a workflow to a flow that works
vanakenm
0
240
Get a peer
vanakenm
0
72
Other Decks in Programming
See All in Programming
rails newと同時に型を書く
aki19035vc
6
730
Azure AI Foundryのご紹介
qt_luigi
1
210
オニオンアーキテクチャを使って、 Unityと.NETでコードを共有する
soi013
0
370
traP の部内 ISUCON とそれを支えるポータル / PISCON Portal
ikura_hamu
0
190
ecspresso, ecschedule, lambroll を PipeCDプラグインとして動かしてみた (プロトタイプ) / Running ecspresso, ecschedule, and lambroll as PipeCD Plugins (prototype)
tkikuc
2
2k
QA環境で誰でも自由自在に現在時刻を操って検証できるようにした話
kalibora
1
140
BEエンジニアがFEの業務をできるようになるまでにやったこと
yoshida_ryushin
0
220
DMMオンラインサロンアプリのSwift化
hayatan
0
190
テストコード書いてみませんか?
onopon
2
350
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
150
Scaling your build logic
antalmonori
1
110
盆栽転じて家具となる / Bonsai and Furnitures
aereal
0
1.9k
Featured
See All Featured
For a Future-Friendly Web
brad_frost
176
9.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Side Projects
sachag
452
42k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
30
2.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Bash Introduction
62gerente
610
210k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
960
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
192
16k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
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!