Stuff that's in my head

Can open... Worms? everywhere! The blog of Colin Angus Mackay
posts - 375, comments - 482, trackbacks - 67

Tip of the Day #12 (Hard coded values)

Don’t hard code VAT or other values that can change, even if they don’t change all that often. Additionally, if you really must hard coded values in a program then make it a named constant rather than a literal value so that it can be tracked down by name. That will make it easier on the person having to maintain the program.

Print | posted on Saturday, July 11, 2009 11:10 AM

Feedback

Gravatar

# re: Tip of the Day #12 (Hard coded values)

yes like it
12/4/2009 10:13 AM | cane

Post Comment

Title  
Name  
Email
Url
Comment   

Powered by: