tech

Spring Cloud Function

Posted on

Howdy Folks, I just got back from having an amazing time at SpringIO 2019 in Barcelona. Since I have a close affinity with the ‘serverless’ concept Spring-Cloud-Function particularly caught my attention. I will undoubtedly write a longer blogpost. I missed my flight this morning (not drunk just tired) so I had some time to kill. […]

tech

We are moving again!

Posted on

Last year we moved from Paris, France to Dublin, Ireland. Now we are moving from EC2 to Lightsail! (With “WE” I mean “nickvanhoof.com”) To validate the move I already moved this website to a Lightsail version under a different domain name. You can find it here: https://codingexpedition.com . It is a perfect clone of this […]

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 […]

tech

Event driven architectures

Posted on

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 […]

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 […]

Uncategorized

Bike power: calculate your power on the bike!

Posted on

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 […]

tech

CQRS

Posted on

Command Query Responsibility Separation  Separating the writes from the reads What? CQRS really makes sense if your are doing event sourcing and event driven design. I will not go deep into that because it would lead us to far and admittedly I don’t have the expert knowledge yet in this domain.* So, separating writes from […]

tech

Regex – Regular Expression

Posted on

A regular expression or regex is a pattern defined by a group of characters to match a certain string. It can help you find patterns in a text or do replacements for specific character sequences. Here a short of overview of some common regex syntax   Examples Here are some examples of regular expressions. You […]