Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Deal with badly written code

Name: Anonymous 2010-03-28 15:38

Since I want to be a good programmer, I developed a precise coding style, and I do my best to write elegant code, however from time to time I find myself messing with poorly written code. This reduces my enthusiasm, and I feel the instinct of fixing it ...but in real life you don't have the time for fixing someone else's code, and you have to put a patch on it.

On the long term this leads to a world-wide growing code base which sucks and keeps sucking... and this drives me mad! How do you handle this problem?

tl;dr: We have a lot of shit to work with. How can you survive?

Name: Anonymous 2010-03-28 16:40

OP is a troll, there is no such thing as cookie-cutter "precise coding style". If there was it would be taught in univeristies and everyone would graduate at a Donald Knuth level of understanding algorithms.

OP- just for grins, why dont you show us some "poorly written code" and then show us how you would convert it to your "precise coding style".

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List