r/C_Programming • u/Ok_Reserve996 • Oct 18 '26
C limitations
Hi all,
I am currently learning c++. Its okay. Not sexy but also not as bad as some say.
The reason I am learning c++ is that I have read that C has limitations as soon as a project gets more complicated. For example, if you make a scientific calculator with many features like graphs etc.
Trading engines/tools are also not recommended to programm in C.
Since I have not learned C and have only read from some old forum posts etc, I cannot confirm/deny these facts.
I am aware that "everything" is possible and that C++ comes with QoL improvements especially with Classes. But I assume that doesn't mean that someone has to use C only for kernel work. Embedded is also possible with C++ right?
I would appreciate your thoughts and opinions.
The goal of this post is to understand how and if C could fit me more with my goals and what real advantages or disadvantages C has.
View all comments
3
u/tastygames_official Oct 18 '26 edited Oct 19 '26
even though they are very similar, they are almost worlds apart, simply because of the (trap) doors C++ opens up with OOP. With C you really can only do imperative programming (of course there is a way to get into true OOP but basically at that point you're better off going with C++), but there is literally absolutely nothing you can't create with imperative that you can in OOP. In fact, I dare say the opposite might be true, as OOP limits you into how things can and cannot be done, so you have to break out of OOP in order to do some things.
Anyway, I love C because it's simple and the logic flows in the code just like it does on the processor (more or less). With OOP, you tend to abstract away the actual computer programming and instead end up focusing on hierarchies and structures and propagation and making all sorts of flowcharts just to be able to figure out where the program logic is. But with imperative, it's literally all right there: line by line.
I recommend learning both, but probably C first. Or if C++, don't start learning classes and OOP until a while later. I've seen programmers with decades of experience simply not be able to do the simplest tasks in imperative programming because they never learned it and can only think in the OOP way, meaning they only think about structures and controlling flow of data rather than the underlying functionality that those complex structures are actually doing. But the opposite is not true at all - imperative programmers have no problem learning and working with OOP. It's frustrating as hell because it's needlessly complex and takes much more effort to read, write and understand, and infinitely more time to debug, but it's very doable.
Do yourself a favor and dive deep into C - maybe even an older standard like C99 or even C90. Figure out how to do everything with that before moving on to "quality of life "improvements"" and "shortcuts" that later standards and higher-level languages offer.
But if after a month of working with C every day you really don't like it and find it too rudimentary, there is no problem with abandoning it and moving on to higher-level languages. Not every programmer needs to be a computer engineer or understand what's happening to the memory or on the CPU every tick. But at least learning about it and getting experience in it will always be a good thing.