Month / March 2019

    Loading posts...
  • Inspecting changes locally before pushing

    If you work on your branch you run into the situation that you would like to push your changes to the remote repository. CI will then pick up your changes and run the linting and code quality checks on it. Afterwards, you will see whether you improved the quality. But perhaps there are some new violations that crept into the code? Happens to all of us!

    I usually like to see and check if any new issues might come up on CI. This lets me improve them before I push.

  • Why you should use linters

    I don’t only publish these newsletters, I write articles on my website as well.

    Last week I published an article on “why you should use linters”.

    Wanted to let you know, just so you don’t miss this.

  • Avdi Grimm’s view on deleting tests

    A few weeks ago I wrote about deleting your tests. Yesterday I received the weekly email from Avdi Grimm, where he touches on this subject. Some premises about my relationship with unit…

  • Why should you use Linters?

    What is a linter? If you write code, you want you code to look a certain way. You want the syntax to meet your stylistic requirements. In the beginning, when you learn…

  • External forces

    I am occupied with learning these days. Learning on my own about visualizations of data among other topics. But also learning about learning. For that I read what other people think about…

  • Complex conditionals

    The other day we dealt with code coverage and gnarly conditionals. I promised to offer a way to be able to test them properly. THERE IS NONE. Ha, what a bad joke.…

  • Code coverage can be misleading

    During the last week, I had two discussions about code coverage. Code coverage is the metric of how many lines of code are covered by your automated test suite. Many test frameworks…

  • Quick wins, part 2: Method names revisited

    Yesterday, we had the first part of this series on quick wins and simple steps to improve your code quality. It was about naming — specifically variables and method names. Two things…

  • How do you do PRs?

    Before opening a PR I advocate for using before-commit hooks in Git. These hooks enable you to run custom scripts before commiting changes. There a quite a number of quality checks, if…

  • Best practices on doing pull requests

    This article will deal with a few best practices that should increase the quality of your PRs as well as make your life easier, when using PRs. Deploy a test build I…