Quantcast
Viewing all articles
Browse latest Browse all 64

Avoid sequences of if…else statements

Adding a feature to legacy code while trying to improve it can be quite challenging, but also quite straightforward. Nothing angers me more (ok, I might be a little exaggerating) than stumbling upon such pattern: Apply Object-Oriented Programming The first reflex when writing such thing – yes, please don’t wait for the poor guy coming after you to [...]

The post Avoid sequences of if…else statements appeared first on A Java geek.


Viewing all articles
Browse latest Browse all 64

Trending Articles