Programming

Code Organisation and Junk

Posted on

Code organisation feels like hard work at times; but there are some mental tricks you can apply to help break the inertia. This article contains a couple of ideas that will help you get moving when you don’t know where to start. I’m not going to go through the steps you need to take to […]

Automation

Getting Started With BDD IntelliJ

Posted on

Here is a quick step-by-step example of how to get started with BDD in IntelliJ. You can also follow these examples if you are using other IDEs, but some of the automatic good stuff may not happen (like auto-downloading plugins to help you edit the feature files and prompting you to import new Mavan dependencies). […]

Programming

Common is Not a Name for an Assembly

Posted on

On almost every occasion where a developer is introduced to an existing code-base, they are given a tour of the application that includes am assembly or name-space called “Common”. Now, it isn’t necessarily called “Common” specifically, although more often than not it is, it can also be found under such names as “Core”, “Shared” and […]

Programming

Always Use Those Curly Braces

Posted on

I write a lot of code in a lot of different languages – but there is one common rule I apply to all of them… when you use an “if” block, always put in the curly braces even if you don’t need them. Many errors are related to violations of this simple style rule. I […]