Running a static site saved me from getting hacked
When I looked at my site’s analytics for the first time in forever, I found that someone ran a script against it to find known vulnerabilities.
Read full articleThese are my articles on how to write software that is easy to maintain and extend. Explore some of the other categories as well while you’re here.
When I looked at my site’s analytics for the first time in forever, I found that someone ran a script against it to find known vulnerabilities.
Read full articleClever code isn’t always the most readable. Especially when working in teams, readability has to come first.
Read full articleWeb servers can send different files to browsers based on headers in a request. Knowing this, we can send WebP-files only to browsers that support them.
Read full articleTreat existing codebases as a blackbox. Take small pieces and write tests for them to understand a project’s inner workings step by step.
Read full articleNo code starts out as unmaintainable legacy we don’t dare to change. All codebases end up there because of a lot of small decisions like these examples.
Read full articleHow do we decide between hundreds of libraries? When does it make sense to build your own version instead?
Read full articleGrouping unit tests and the code they test makes maintenance easier than it is when we keep them in separate directories.
Read full articleJust as gender is not “true” or “false”, Boolean values are not appropriate for situations in which we assume only two options exist.
Read full article