How did this EVER work?!

The one thing no coder will ever tell you...What’s the one thing no coder wants to talk about?

Chances are, you know a few coders. They’re everywhere these days!

What you might not know is that most of them have experienced something, well, unexplained: code that works, but shouldn’t. At all.

It’s just part of many programmers’ lives. But what’s really going on here?

How is it that something that never should have worked in the first place works perfectly – sometimes, for years?!


The Best JavaScript Debounce Function in the Universe

If you code in JavaScript, you should know all about debouncing functions.

When an event listener such as a window ‘resize’ fires, sometimes it will fire 72,000 times per second. That means your callback function is also firing 72,000 times in a row, bogging down the browser.

This isn’t as much of a problem as it used to be, but debouncing is still needed and should still be used.

So what’s the best way to debounce/throttle in JavaScript?


How to code smarter – now with 50% less irritation!

Everyone knows that coders are weird people.

Interrupt them, and you often encounter a rather strange and “interesting” reaction. Why is that?

Well, it’s all about what happens in your brain when you’re programming something. It’s probably one of the hardest things to focus on, at least for me.

There’s a reason why programmers tend to work late/early hours: fewer distractions!

Fortunately, there are a couple of tricks I have taught myself over the years that can make everyone much happier.

Even if you aren’t a coder, you can still benefit from these tips!