We name so much, we’d better name well

Names are everywhere in software (variables, functions, arguments, classes, source files etc…). Because we name so much, we’d better name well. So choose your names thoughtfully 😉 Here come rules for creating good names (introduced by @UncleBobMartin). Communicate your intent The name of a variable, function, class or any other piece of code, should answer

Continue reading
No comments

What is the purpose of this code?

There are only two hard problems in Computer Science: cache invalidation and naming things. – Phil Karlton We name and name and name. We name variables, functions, arguments, classes, source files, and the directories. Proper naming makes the code easier to read. Intention-revealing names The right name tells you why the variable, function or class

Continue reading

Who do you write the code for?

You can probably come up with a bunch of answers: the computer, the client, the cloud, the company… But first and foremost you write code for other developers. And for your future self. I mean, the computer will understand anything you write (as long as it compiles). And it’ll behave in the exact way you

Continue reading

A bunch of individuals doesn’t make a team

A team sport Last year I’ve finally obtained the certificate of competency authorizing me to operate sailing yachts so I’ve spent a part of my long vacation on a boat. I love sailing. Sailing is pretty much about the experience and learning the right skills. Every moment on the water is different, and it’s important

Continue reading