As Phil Karlton once said, “There are only two hard things in Computer Science: cache invalidation and naming things”. If naming things is hard — why actually spend time and energy on it? But before we can judge whether thinking about good variable names is worth the time, we should look into how we read code.

A former colleague once told me, when he is defining Javascript objects, he is in favor of having opening and closing curly braces on the same line, instead of having them on multiple lines. …


The topic of March’s Salzburg DevOps Meetup was dependency management. Christian Köberl did a really good presentation on dependency management — focusing on how to automate dependency upgrades by using a dependency update bot. In the Q&A a really interesting discussion started. Why do I need to upgrade my dependencies?. The majority of arguments for upgrading dependencies were either “Because you have to”, “Because otherwise, you fall behind too far” or “Because it improves the security of your system”. Since only the minority of dependency upgrades contain security fixes, this was not really satisfying. …


I like my code to be in order. I like my code to be easy to read and easy to understand. And I’m willing to go the extra mile to make my code adhere to those standards. But is it worth it? Is writing clean code a good investment?

When discussing this with colleagues I usually get one of two reactions: Either they care a lot about writing readable code, or the readability of code is not important to them at all. …


During my professional years, I have taken part in quite a few discussions about code format and code style. Usually, everybody is almost overly enthusiastic about discussing code formats. Then the discussions get intense and oftentimes emotional quite quickly until it hits the point of no return. The discussion is deadlocked — you can be almost certain that you cannot find any sort of agreement anymore. “Do I put braces in the same line as the function or the next line” — everybody has an opinion on that, and rarely anybody changes his/hers. As much as I care about code…

Bayrhammer Klaus

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store