Slide 1

Slide 1 text

Code Signs Code as a Trail

Slide 2

Slide 2 text

About.me ● Co-founder at 8th color ● http://pullreview.com ● @martinvanaken ● blog.8thcolor.com (Ruby, Code Reviews) Learning, reading, laughing

Slide 3

Slide 3 text

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.

Slide 4

Slide 4 text

What is code?

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

Another vision

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

Why?

Slide 12

Slide 12 text

You’ll need to get back Maintenance: up to 80%

Slide 13

Slide 13 text

Other people will need to get back You Are Not Alone

Slide 14

Slide 14 text

It will be at night

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

It will rain

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

The trail will be old

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

Avoid being misleading

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

Misleading names

Slide 23

Slide 23 text

Misleading comments

Slide 24

Slide 24 text

Dead code

Slide 25

Slide 25 text

Drop your stones

Slide 26

Slide 26 text

Name things

Slide 27

Slide 27 text

Name things

Slide 28

Slide 28 text

Name things

Slide 29

Slide 29 text

Put code where it belongs

Slide 30

Slide 30 text

Put code where it belongs

Slide 31

Slide 31 text

Put code where it belongs

Slide 32

Slide 32 text

Be stylish

Slide 33

Slide 33 text

Be stylish

Slide 34

Slide 34 text

Avoid complexity

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

Test your trail

Slide 38

Slide 38 text

Test your trail Q: How to know if your code is readable?

Slide 39

Slide 39 text

Test your trail A: Read it yourself A: Have it read by someone → Code Reviews

Slide 40

Slide 40 text

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live

Slide 41

Slide 41 text

Code for Humans

Slide 42

Slide 42 text

Thanks for us!