Code quality checks

Code quality is a weak spot in nearly every software project. This is especially true for legacy projects. What once was elegant, over time became rougher and finally incomprehensible. Monitoring and fixing code quality issues is something that has been proven to increase the quality of the application and decrease the delivery time to stakeholders.

Make better git commits

Version control systems provide a way to track changes between source code versions. Git is most likely the most commonly used one nowadays. Git can be used in different ways and there is no one correct way to do it.

Avoiding unnecessary null checks

The most common reason for writing null checks is that you run into a null pointer exception. The second most common reason is that you happened to think about it at some certain case. The problem is that you are not probably handling null in every single method call. This means that there are potential bugs lurking everywhere. Null pointer exceptions are bad. Would it not be better if you did not have to check for nulls at all?

Misconceptions about code reuse

We all have been taught that reusable code is good. We all know why we should do it but there are some misconceptions about how to do it. There are two common misconceptions about reusable code:

How to prevent legacy code from emerging

Every software developer has faced the situation. You have been assigned a task to add or change a feature. You know nothing about the particular feature but it does not sound too complex.