Programmer’s Survival Tips – #4

When writing code, the simplest solution to a problem is the best

Occam’s razor according to Wikipedia is “the principle that ‘entities must not be multiplied beyond necessity’ (entia non sunt multiplicanda praeter necessitatem). The popular interpretation of this principle is that the simplest explanation is usually the correct one. Simplest is not defined by the time or number of words it takes to express the theory; is really referring to the theory with the fewest new assumptions.” (See the article here) (more…)

Continue ReadingProgrammer’s Survival Tips – #4

Programmer’s Survival Tips – #3

Build up a code library or repository

How much code do you rewrite? Be honest with yourself. I am a very lazy programmer. So lazy in fact that I created a project template for myself. (More on this later) But as any good programmer knows, having a stash of code is essential! And really, with all the tools available to you, there really isn’t any excuse not to have a code repository. Try http://codesnipp.it/ online and request an invite (or contact me for one. If I have left, I’ll share).

But let me start from a point. I started noticing that certain aspects of my projects were reusable because I was writing code over and over again. (more…)

Continue ReadingProgrammer’s Survival Tips – #3

Programmer’s Survival Tips – #2

Never commit to anything without doing proper research first

On a couple of occasions I have been approached by one of my clients wanting a change to a system I or one of my colleagues wrote. They will start off by saying that they need a ‘small’ addition and that it is really simple. (That usually coming from somebody with NO programming experience at all) They will then proceed to explain the change and at the same time tell you that it shouldn’t take you more than x amount of hours to complete.

This is probably one of the most frustrating situations for me. (more…)

Continue ReadingProgrammer’s Survival Tips – #2