See the writing on the wall...
-
Can't answer the part about spaghetti code or the other errors as I haven't seen more of the code than anyone else on the forum. But empty catch blocks is a coding horror in my book. And those abbreviated variable names are just plainly unnecessary today.
Light moves faster than sound. That is why some people appear bright, until you hear them speak. List of common misconceptions
Cryptic variable names would have been a prrogramming crime 20 years back too. It was the binaries where bytes were expensive, not the source code.
-
The real horror is that mess should never have gone out the door and into the customer's hands. X| The customer needs to be given proper replacement ASAP and, of course the original programmer should not touch the replacement program. And tar and feathers is to good for the individual who wrote that mess. :wtf:
Just because the code works, it doesn't mean that it is good code.
My guess is that there's a good chance that this mess got to be delivered because the customer is a cheapskate. That's what you get when you contract to script kiddies instead of serious, qualified and more expensive programmers. And when you insist on things to be delivered yesterday, but never have time to discuss the actual requirements with your service provider.
-
Cryptic variable names would have been a prrogramming crime 20 years back too. It was the binaries where bytes were expensive, not the source code.
Florin Jurcovici wrote:
Cryptic variable names would have been a prrogramming crime 20 years back too
Indeed, I was thinking more like 40-50 years back in time when harddrives were a novelty.
Light moves faster than sound. That is why some people appear bright, until you hear them speak. List of common misconceptions
-
My guess is that there's a good chance that this mess got to be delivered because the customer is a cheapskate. That's what you get when you contract to script kiddies instead of serious, qualified and more expensive programmers. And when you insist on things to be delivered yesterday, but never have time to discuss the actual requirements with your service provider.