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 What is the purpose of this code?
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 Who do you write the code for?