31

Having to review an offshore C++ codebase made in Romania that the company I worked for they bought to control a wifi module on a complex RF mobile tech device that I can't legally give more details on.

If I could legally post this masterpiece, or should I say masterpiece-of-shit, all of you C++ dev would instantly get AIDS and all the existing types of cancer upon browsing it for 2 minutes.

It's laughably bad and unmaintainable. One of my colleague called it "the perfect example of human obfuscation" and it fits perfectly.

Think of a 100k LoC main function with nested loops and ifs with random sleep values, 1000 values of hardcoded 32 bits arrays declared globally in the first 10k lines for unknown reasons. Comments in Romanian mixed with english. Somehow, this shit works by some miracle.

The worst intern you can think of, while being piss drunk, could do better and it's no joke.

Comments
  • 3
    *laughs in Toyota*
    But seriously, that sounds horrible
  • 3
    As a romanian, I am sorry. Not all of us are like that, even the opposite, we are used to use some english even when not necessary.

    It's in part the fault of the lack of code quality focused subject in our school system, which never dive and do's and don't's.

    But hey, if you want and no NDA is broken, i can help ya with some translations 😁
  • 3
    @KennyTheBard I don't doubt there are good coders in Romania. The company just hired people in Romania because it was cheaper at the time, but they unfortunately hired the worst people for it.

    Don't need to decipher the code out, it's property of a company I don't work for anymore (even though I kept a code sample for myself for giggles and laugh). Thanks for the help though! :)
  • 1
    The mere thought of revwing an entire codebase shivers me timbers.

    I always have a hard time getting into something in derail I need to implement a feature.
  • 0
    The only reason it works is because all of that hot mess was designed for 1 job only.

    Try asking those people to make certain enhancements or run their code through an experienced QA and the cracks will begin to show
Add Comment