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
270
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
230
From a workflow to a flow that works
vanakenm
0
220
Get a peer
vanakenm
0
66
Other Decks in Programming
See All in Programming
Deep Dive into the Symfony Security Component
hhamon
1
180
一休.comレストランのRustバックエンド開発の様子
kymmt90
13
7.9k
PHP 8.3で追加されたjson_validate()を徹底的に深掘りしてみよう
mashirou1234
0
630
before_rails_girls_after_rails_girls
maimux2x
0
300
【KMC春合宿2024】実装視点で見るNeural Radiance Fields
runningoutrate
0
130
ここ1~2年くらいで 使えるようになった(主要ブラウザーの最新版 がすべて対応した ) ウェブの新機能について ランダムに喋る!
myzkyy
7
5.9k
Laravel標準バリデーションでできること
hmb_ok
1
330
php-src debug マニュアル
onopon
1
660
mandaRa: R言語ユーザのための新しい知識共有の場 / mandara_tokyor111
s_uryu
2
410
Sementic Kernelのネイティブ関数について
tomokusaba
0
790
TerraformをやめてCDKでReStartしたあと、 CDKをやめてCDK for TerraformでReStartした話
tmiura0203
0
770
PHP で読む楽しいコアダンプ
sji
0
220
Featured
See All Featured
From Idea to $5000 a Month in 5 Months
shpigford
376
45k
Scaling GitHub
holman
456
140k
Designing with Data
zakiwarfel
94
4.8k
Learning to Love Humans: Emotional Interface Design
aarron
266
39k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
240
1.2M
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
8
8.2k
Building Applications with DynamoDB
mza
88
5.5k
Being A Developer After 40
akosma
56
580k
Designing on Purpose - Digital PM Summit 2013
jponch
109
6.4k
The World Runs on Bad Software
bkeepers
PRO
60
6.6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
657
120k
Raft: Consensus for Rubyists
vanstee
130
6.2k
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!