Blog

Context-Aware Props in Vue.js Components

Recently I saw an interesting Tweet by Mark Dalgleish, about the idea of contextual defaults for React components. I was especially interested in this because I had to solve a similar problem only a few days before...

Read more

Tight Coupling vs. Loose Coupling in Vue.js

When talking about loose coupling and tight coupling, often, the impression arises that tight coupling is something we always have to avoid. But this is almost impossible. What's essential is that we use loose coupling when bridging the gap between layers of our application...

Read more

Retry Failed API Requests with JavaScript

One of the most fragile parts of modern web applications is the network connection. Any API request that we make in our code has a significant risk of failing. We can use several techniques to make our applications more resilient in the event of a network connection failure...

Read more

How to Avoid Bugs from Unanticipated Behavior?

Recently I was responsible for introducing a major bug into the code base of the product I'm working on. There were no tests for the code, so my first instinct was that this could have been prevented with better test coverage...

Read more

Business Logic in Fat Client Applications

In typical server-side rendered web applications, the separation of the business logic from the view layer was usually straightforward. But the boundaries are becoming blurry as we create fat client applications where much of the business logic tend to live on the client-side...

Read more

Make it Simple

Last weekend I had the pleasure to dine at Das Maier. I don't need to mention that the menu, cooked by the four-star chef, (by the way the first woman to be awarded four stars) was excellent. But besides the culinary delights, it was fascinating what her husband, who served us, told us about the secret of her delicious food...

Read more

Fighting Procrastination

In the last couple of weeks, I'm not as motivated anymore to do all the things I have to, and I want to do. This led me to fall back into the habit of excessive procrastination...

Read more

Variable Naming: Arrays and Booleans

To become a capable programmer, it is crucial to have systems that free you of the mental burden of thinking about all the little things while programming so you can focus on the big picture...

Read more