“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 […]
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 […]
I came along a very interesting video of Martin Fowler about Event Driven Architectures and how that term covers a lot of different things: The many meanings of event driven architectures . I want to share my notes cause I think there is a lot of important info in the talk. Four things related to […]
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 […]
Howdy folks, The Belgain cyclist Victor Campenaerts is attacking the world hour record on April 16 2019. This inspired me to build an app where you can calculate your own power: https://www.wattsappcycling.com/ Compare yourself with pro’s and find out how strong you are! For the technical guys and girls among you: I built an Angular frontend […]
I just made a couple of updates to my tutorial on how to set up WordPress with Docker. Check it out here: nickvanhoof.com/docker-compose-wordpress/ !