Explorations of Coding, Science and Data Visualization, Generative Art, and Life as a Geek
I'd say, assuming the code works at all, there's definitely good code and bad code. Bad code is hard for others to understand and follow, hard to maintain and change. Good code is clear, self-commenting, etc."Right" and "wrong" ways of coding extend that to certain conventions. Of course, many people take on those conventions as if they were laws. In general, I think following the "right" conventions halps to make your code "good". If you are going to break the conventions, you should have a good reason to do so.
I generally hear about hacked code versus good code.If the code works, and its a one-off no one else will need to maintain, hack code is working code is okay code. Its to be avoided, but sometimes its necessary. Going back later to do things "properly" is always nice.
Post a Comment