clash of the titans

12

Upload: steve-vadocz

Post on 08-May-2015

102 views

Category:

Internet


0 download

DESCRIPTION

Why it is important to keep code base clean.

TRANSCRIPT

Page 1: Clash of the titans
Page 2: Clash of the titans

Steve VadoczFront End Developer

sky.com

Page 3: Clash of the titans

Every hero has his own style.

Page 4: Clash of the titans

Website or component is build in weeks but is being maintained for months.

Page 5: Clash of the titans

• consistent formatting • plenty of white space • plenty of comments (cSS)

Page 6: Clash of the titans

Guidelines

Page 7: Clash of the titans

bad code leads to bad code.

Page 8: Clash of the titans

you can make bad code look good.

Page 9: Clash of the titans

Who wrote this sH*t. Oh me…

Page 10: Clash of the titans

Housekeeping

• it’s fun to just build new components but you need to look after the code we already have

• add refactor time to any feature estimate

• create tasks to maintain and tidy up your codebase

Page 11: Clash of the titans

Always code as if the guy who ends up maintaining your code

will be a violent psychopath who knows where you live.

~Martin Golding

Page 12: Clash of the titans

Thank you