Saturday, November 29, 2008

Today i learned the importance of tidy coding

I went back and reformatted an old ASCII program that would display the ASCII character for each number.. it's kind of neat.. But it was done half assed i can only imagine i was coming up to a deadline and didn't finish in time.

Anyway it's here that i learned how horrible my coding practices were, so i went through it and fixed it so people could actually read it.. Which seems much more important now then having compact code, or "clever" code.. being able to read your code and manage it later, or making it easy for other people to read/edit your code is extremely important. It makes everything easier and one of the most important assets you have to take into account while coding, isn't performance but the amount of time you spend implementing something.. Why make it harder for yourself in the future?

Anyway, that's what i learned from this bit..

No comments:

Post a Comment