Category Archives: software engineering

getting started with acts_as_state_machine

This is a note to self. Remember to define all states for an object before you start referencing it. If not, you will get an error like this: "You have a nil object when you didn't expect it! The error occurred while evaluating nil.entering"
Also posted in Ruby programming, programming | Tagged , , , , , | Leave a comment

please stop overdesigning!

Keep it simple, stupid. Or keep it simple stupid. Or keep it simple and straightforward. But please, do it for other programmers. Do it for yourself. For your own sanity. Stop overdesigning and 'designing for the future.' Stop designing for 'what may happen in the future.'
Also posted in IT services business, programming | Tagged , , , | Leave a comment

professional software… really?

Lately I’ve been seeing horrible code. Sometimes it’s horribly written. Sometimes you know that it will be ridiculously hard to maintain. Sometimes it is just plain wrong. Way too many times it is over-designed, which also makes it hard to maintain. A few examples from various projects: Code written to process credit cards that displayed the entire [...]
Also posted in IT services business | Tagged , , , | Leave a comment