Discover your dream Career
For Recruiters

"Coding in C++ often feels like creating a monster"

People love to debate the merits of C++. But in a business context, there are some situations where C++ is almost never the answer. It's extremely hard to write good C++ in an environment which constantly changes its requirements.

Large C++ codebases are often patched together by various people who've worked on it over the years. In theory, the code should be the documentation; it should be easy to understand, but it rarely is. This means it's hard and tedious to add new features to existing C++ code. 

Click here to sign up to our technology newsletter 🔧

Why? The development time of C++ is pretty long, mainly due to the compilation, and you're afforded little time. With short deadlines, you usually build an MVP (minimum viable product); these are not only put into production too soon, but the business will then ask for changes. You patch it and patch it, eventually creating a monster. Nobody understands why the code is the way it is, and it needs a complete rewrite. Any senior software engineer will have been in this situation before.

This isn't a problem unique to C++, but the language is much more susceptible to it. Given the language's lengthy development time, people look for shortcuts to save time any way they can. Usually, those people leave the company... and everything collapses.

This, in addition to the personal ways in which each coder writes C++, makes it extremely hard to identify issues early. C++ coders tend to target the 'beauty' of the code rather than the 'service'. This creates a lot of unnecessary complexity, and more issues in the long term.

That being said, I don't think we have something better that can replace C++ yet. Maybe one day... 😔

Have a confidential story, tip, or comment you’d like to share? Contact: +44 7537 182250 (SMS, Whatsapp or voicemail). Telegram: @SarahButcher. Click here to fill in our anonymous form, or email editortips@efinancialcareers.com. Signal also available.

Bear with us if you leave a comment at the bottom of this article: all our comments are moderated by human beings. Sometimes these humans might be asleep, or away from their desks, so it may take a while for your comment to appear. Eventually it will – unless it’s offensive or libelous (in which case it won’t.)

author-card-avatar
AUTHORDexter Burkhart Insider Comment
  • XA
    XAssetQuant2
    10 May 2024

    I feel like this article took his "inspiration", for not to say copy from the comment of

    QuantXAsset, on 7 May 2024 , here: https://www.efinancialcareers.co.uk/news/finance/c-coding-language-problems


    :)


Sign up to Morning Coffee!

Coffee mug

The essential daily roundup of news and analysis read by everyone from senior bankers and traders to new recruits.

Boost your career

Find thousands of job opportunities by signing up to eFinancialCareers today.
Recommended Articles
Recommended Jobs

Sign up to Morning Coffee!

Coffee mug

The essential daily roundup of news and analysis read by everyone from senior bankers and traders to new recruits.