Skip to main content

The biggest effect on code quality

You carefully assembled a team of great developers, a top architect, UX designers, product owners, etc… You are confident that with this team you can tackle any challenge.

However after 2 years working on the project, you have lost a lot of this confidence. The list of requested features keeps growing, existing functionality needs to be reworked because the business needs have evolved, and people work longer and longer days to still reach the predicted deadline.

What started as workarounds to reach the end goal faster has evolved to just work. Workarounds are no longer the exception but became the rule.

The solution becomes less and less stable and bugs are appearing everywhere. What is going on?

Aha, we just discovered the biggest impact on code quality. It is not the skills of the team, neither the programming language or technologies they use, it is something else.

The answer is ‘avoiding crunch mode’.

Crunch mode, also known as crunch time, describes working extra hours for extended periods to finish a project or meet a deadline. During crunch time, developers often put in intense effort to ensure timely delivery.

Studies have shown that developers who work a lot of over time causing sleep deprivation are 44% less productive. A sector which is notorious for its “crunch time” is the gaming industry. A lot of games where developers were pushed to reach the deadline resulted in buggy released and bad reviews.

Crunch is a failure of project management.

Ian Schreiber, assistant professor at the Rochester Institute of technology talked about the physiological effects of crunch time. He explains that it can even go so far that your productivity goes into the negative:

Once you get past 60 hours, your cognitive function is actually worse than someone who wasn't working at all.


As a counter movement, a game studio CEO explicitly introduced a “no-crunch” policy.

So next time your project manager on an already late project asks you to "do the extra mile", take it literally. Put on your running shoes, run until your head is clear and take a good night of sleep. The impact will be much higher than crunching yourself from deadline to deadline.

Popular posts from this blog

Podman– Command execution failed with exit code 125

After updating WSL on one of the developer machines, Podman failed to work. When we took a look through Podman Desktop, we noticed that Podman had stopped running and returned the following error message: Error: Command execution failed with exit code 125 Here are the steps we tried to fix the issue: We started by running podman info to get some extra details on what could be wrong: >podman info OS: windows/amd64 provider: wsl version: 5.3.1 Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM Error: unable to connect to Podman socket: failed to connect: dial tcp 127.0.0.1:2655: connectex: No connection could be made because the target machine actively refused it. That makes sense as the podman VM was not running. Let’s check the VM: >podman machine list NAME         ...

Azure DevOps/ GitHub emoji

I’m really bad at remembering emoji’s. So here is cheat sheet with all emoji’s that can be used in tools that support the github emoji markdown markup: All credits go to rcaviers who created this list.

Cleaner switch expressions with pattern matching in C#

Ever find yourself mapping multiple string values to the same result? Being a C# developer for a long time, I sometimes forget that the C# has evolved so I still dare to chain case labels or reach for a dictionary. Of course with pattern matching this is no longer necessary. With pattern matching, you can express things inline, declaratively, and with zero repetition. A small example I was working on a small script that should invoke different actions depending on the environment. As our developers were using different variations for the same environment e.g.  "tst" alongside "test" , "prd" alongside "prod" .  We asked to streamline this a long time ago, but as these things happen, we still see variations in the wild. This brought me to the following code that is a perfect example for pattern matching: The or keyword here is a logical pattern combinator , not a boolean operator. It matches if either of the specified pattern...