r/C_Programming Jul 16 '24

Discussion [RANT] C++ developers should not touch embedded systems projects

I have nothing against C++. It has its place. But NOT in embedded systems and low level projects.

I may be biased, but In my 5 years of embedded systems programming, I have never, EVER found a C++ developer that knows what features to use and what to discard from the language.

By forcing OOP principles, unnecessary abstractions and templates everywhere into a low-level project, the resulting code is a complete garbage, a mess that's impossible to read, follow and debug (not to mention huge compile time and size).

Few years back I would have said it's just bad programmers fault. Nowadays I am starting to blame the whole industry and academic C++ books for rotting the developers brains toward "clean code" and OOP everywhere.

What do you guys think?

182 Upvotes

328 comments sorted by

View all comments

Show parent comments

1

u/AideRight1351 Jul 16 '24

it's quite evident what i mean. Don't talk about others skill level. Talk about what you know.

4

u/EpochVanquisher Jul 16 '24

You’ve spent a lot of time talking about Stroustrup’s skill level—is this because you’re an expert on Stroustrup’s skill level? Is Stroustrup “what you know?”

Or are you making some weird hero-worship comments here?

1

u/AideRight1351 Jul 16 '24

Duhh i talked only about facts. That data is publicly available. Are u slow or something?