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
MDN Web Docs に日本語翻訳でコントリビュートしたくなる
ohmori_yusuke
1
130
Railsアプリケーションと パフォーマンスチューニング ー 秒間5万リクエストの モバイルオーダーシステムを支える事例 ー Rubyセミナー 大阪
falcon8823
5
1.1k
「テストは愚直&&網羅的に書くほどよい」という誤解 / Test Smarter, Not Harder
munetoshi
0
180
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
940
新メンバーも今日から大活躍!SREが支えるスケールし続ける組織のオンボーディング
honmarkhunt
5
7.6k
ニーリーにおけるプロダクトエンジニア
nealle
0
860
設計やレビューに悩んでいるPHPerに贈る、クリーンなオブジェクト設計の指針たち
panda_program
6
2.2k
ペアプロ × 生成AI 現場での実践と課題について / generative-ai-in-pair-programming
codmoninc
2
18k
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
3
490
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
400
Composerが「依存解決」のためにどんな工夫をしているか #phpcon
o0h
PRO
1
270
PipeCDのプラグイン化で目指すところ
warashi
1
280
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Rails Girls Zürich Keynote
gr2m
95
14k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
How STYLIGHT went responsive
nonsquared
100
5.6k
Site-Speed That Sticks
csswizardry
10
690
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Making Projects Easy
brettharned
116
6.3k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Done Done
chrislema
184
16k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
A Modern Web Designer's Workflow
chriscoyier
695
190k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
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!