Quote of the Week

Steel sharpens steel. Your colleagues are not breaking you down. They are preparing you for battle.

Quote of the Week

"When debugging, novices insert corrective code; experts remove defective code." - Richard Pattis

Quote of the Week

"Bugs are just tech debt that users can see." - Jon Thornton

Quote of the Week

"We build our computer (systems) the way we build our cities: over time, without a plan, on top of ruins." - Ellen Ullman

Quote of the Week

Remember rule #6*









*Don't take yourself so goddamned seriously.

Quote of the Week

"Always implement things when you actually need them, never when you just forsee that you need them." - Ron Jeffries

This quote reminds us to be mindful of what we are trying to accomplish. For example, don't write a switch statement when you only have one condition to check. Trust that when the time comes to add conditions the next developer knows when a switch will be beneficial. If you can't, your team has bigger problems.

Quote of the Week

"Give someone a program, you frustrate them for a day; teach them how to program, you frustrate them for a lifetime." - David Leinweber

Quote of the Week

"No code is faster than no code." - Merb Motto

Quote of the Week

"Refactored code either dies a hero or lives long enough to see itself become the legacy". - Mathieu Ferment

Removing the IF in the code

Yesterday I came upon this interesting read on the Anti-If pattern. It has some good tips on how to remove if-statements from your code. As I primarily work with ColdFusion, I thought it would be good to document a trick I learned to eliminate if-statements.

[More]

More Entries