4 ms·
My code is only good until someone rewrites it and makes it better. I can make my code easy to read and follow and do what it is supposed to do, and thus easy t
by defdac 16y ago
My code is only good until someone rewrites it and makes it better. I can make my code easy to read and follow and do what it is supposed to do, and thus easy to rewrite. That is good code.
Good code is definitely not something intricately made by some Golden Design Pattern Rule argumented by a wise ass for hours just because he or she thinks his way/code is the best. That will on the contrary, and with high certainty, result in really crappy code.
Programming is not science, it's more like art - with one big difference. Code can be written to be easy to modify by other artists afterwards to their liking. If these artists can't modify or read other peoples code, but have to rewrite it completely there is a really big probability their new code is that of a newbie. It might be fancy and intricate, but still made by someone that lacks the ability to read, follow and understand old code.
Someone that can't understand "crappy" code, probably have a hard time even understanding design patterns - and have probably spent alot of time studying design patterns and memorized all their fancy names..