Clean Code

Clean Code 3.0 – Functions

Posted on

“The first rule of functions is that they should be small. The second rule of functions is that they should be smaller than that” a function should only do one thing: A function that only does steps that are one level below the stated nane of the function, then the function is doing one thing. Avoid […]

Clean Code

Clean Code 2.0

Posted on

Meaningful names The importance of good names (variables, classes, functions ..) is often overlooked. Code is read 10 times more than it is written. Names have a great impact on understanding what the code does. With good names it takes less time to get to know or maintain the code. The context of the code […]

Clean Code

Clean Code 1.0

Posted on

I decided to read “Clean code” by Robert C. Martin again since it is such an inspiring book. Here are  some key takeaways from the first chapter: We all know that later equals never! -> A working mess is better than nothing. I’ll clean it up later. Naah, NO WAY that’s true! In chapter 1 Uncle Bob […]