Webcamp Ljubljana 2016
Change is hard - make your life easy by making code simple
Aleksandar Stevanovic
March 2016
Slide contents
Change is hard
What is this talk about
What is this talk about
I can’t tell you anything you don’t already know
Lets talk about code
Bad code
Good code
Good enough code
Good enough code
The only constant that we know for sure in software development
The startup expansion
Lets build something new
How fast can you build it?
In software development cost = time
Don’t reinvent the wheel
Initial cost in software development
Just do it®
That is only first draft
Cost of change
Its harder to read code than to write it
Just in time refactor
But how?
There is no silver bullet
Simplicity
You need to care about your code
Back to basics
Know how to test your code
Try to make the code readable
“Code is like humor, when you have to explain it, its bad”
Rename rename rename
Try to express intent
First rule of writing functions is that they should be small.
Second rule of writing functions is that they should be smaller
Question everything
Care, clean & question