Interesting article.
I love hard coding stuff. No-one ever reads it, and to me it's returnable to instantly. I've done some really epic stuff for calculating VAT - of course if the government ever changes the VAT rate, several of my production systems become instantly borked! But that's half the fun.
In fact looking back I should've hardcoded everything - because by the time someone else comes along to maintain that code, they generally do a re-write anyway.
I love hard coding stuff. No-one ever reads it, and to me it's returnable to instantly. I've done some really epic stuff for calculating VAT - of course if the government ever changes the VAT rate, several of my production systems become instantly borked! But that's half the fun.
In fact looking back I should've hardcoded everything - because by the time someone else comes along to maintain that code, they generally do a re-write anyway.