About me

Hi! I'm , and I like to make stuff. Frontend, backend, mobile, hardware...

This place is my home on the interwebs, which I'll try to keep up to date with what I'm doing these days.

Lately, I've been playing with creating an image transformation service.

Recent Posts

Strictness in APIs, or "Why Hapi rocks"

You know what I love about Hapi? It's strict.

What does "strict" mean?

It can mean many things. In this case, I'm talking about letting the developer know if he does something which the framework doesn't really understand.

An example is when you have a bug in your code and try to call Hapi's reply() method twice. Hapi can't send a response twice, so it'll let you know. By doing so, it have most likely uncovered a bug in your code. In this case, you might have forgotten a return statement after some error handling logic, for instance.

Read more…