Unstrung Manager
by in Coded Smorgasbord on 2019-08-21Deon was on a contract-to-hire job. In the beginning, it sounded like a good job. Then he looked at the C# codebase. It didn’t take him long to decide that this wasn’t going to be a job he’d work at full time. Still, he’d be happy to continue contracting, because it was quite obvious that it would be a lot of billable hours.
How many is “a lot”? Well, let’s talk about their StringManager
class. A common WTF is a “god” class that does a thousand different things. Here’s a class made up of nothing but static
functions which is 1800 lines long. This wasn’t assembled by a junior developer or an intern, but their senior technical lead, who was adamant that this was the right way to program, and god damn anybody who said otherwise.