Live on Twitch:
👨💻💬 Do you prefer C or C++? 🤔#C #programming #coding #developers #tech
🏫 COURSES 🏫 Check out my new courses at
🙌 SUPPORT THE CHANNEL 🙌 Become a Low Level Associate and support the channel at
Why Do Header Files Exist?
How Does Return Work?
🔥🔥🔥 SOCIALS 🔥🔥🔥
Low Level Merch!:
Follow me on Twitter:
Join me on Discord!:
source

I learned c on an Amiga and when I finally got to c++, the oop principles were a real eye opener for me. Programming could be more than just procedures calling other procedures.
But to me, the downfall of c++ Is best illustrated in a talk by one of the c++ experts challenging the other experts in the room to guess for each code example if a copy or a move takes place. I think no one passed the test with a perfect score. I rest my case.
The main thing I use C++ for is to have "C with any amount of metaprogramming beyond preprocessor macros". The reason people use build systems is because they want to check things at compile time, and enable/disable things at compile time, which is itself a form of metaprogramming. And of course, if you need to generate something at compile time, that too is something people use build systems for, which is as metaprogramming as you can get.
Tldr if the C++ standards committee focused on metaprogramming very early on, we wouldn't be in this mess
This makes me want to try C, before I started learning C++ I was learning assembly, which I liked because I actually knew what the computer was doing with each line. But I'll probably focus on C++ so I don't start trying every different language instead of actually getting good at one of them.
both together is the key. Making yur interface C and yur framework C++ helps work wit thirdparty drivers and sdks
And let's talk about the unreadable documentation
I agree, i hated that std filled ccp propoganda slop designed to maked american code worse
See.. I do the same assumptions, but with higher level programming. For the longest time I have been able to come into someone else's code and fix it simply by suggesting that they did some code quality stuff wrong before I even start to diagnose things. If I assume something from your code and it doesn't do that, then you have a bug in your code. That goes from the top all the way down to the bottom bottom layer where we are assigning memory and stuff. If anything from a layer that one of my peers wrote to something that a library maintainer wrote doesn't meet my expectations or convince me that my expectations are wrong, then it's a bug and I fix it or rewrite it.
You don't have to write everything in c to be confident that things are written correctly.
love that frustration at the end… fucken real bro!! 😀
I like C++, because it abstracts away a lot of things. The code is just much more versatile and code efficient.
I also don't have a problem with C in general, with one exception. If you work with the Linux kernel or interact with the Linux kernel, you sometimes get data pointer and you have to cast them to some struct or something. You just have to know that it needs to be casted into that struct. C is definitely missing a concept for defining clear interfaces. You always have to check the documentation and code examples on the internet to know what data can be casted into what struct.
I don't have a problem reading c++ even with operator overloading because you can just check the class. Now, if you use template metaprogramming, I might as well be blind and illiterate
I wonder if IDEs could do an analysis of whether the type you're working with on that expression/statement has an operator overload for that particular operator, and could color it differently, or allow a tooltip so that you can see the method definition.
I did not know Rain is now a programmer
Thats no skill issue. Thats just how libraries work. Read the docs and use the library, or not. You can rewrite everything too if you want to, or not. Try Python or try again.
C++ is painful to debug, has a lot of hidden calls and a huge tendency to produce ugly and unreadable source code. I prefer by far the simplicity and the readability of C code. By far..
I prefer C, but also for an additional different reason : C++ shoehorns everything into the inheritance OOP paradigm, which is dead. (Not just me, know Casey Muratori?)
Composition is the logical way forward.
Don’t get me wrong, C has issues, but C++ really doesn’t solve anything.
i can barely read c code from other people while i can make literally same solution
You gotta appreciate simplicity it’s the only way.
I think trying to be a language for every paradigm ruins cpp, i use as C with classes, everything beyond that is nonsense, also the vector utility is nice
@LowLevelTV
Ever thought about a job at a bank or similar company running Mainframes? (Yea yea Mainframes are dead, bla bla, no they are not!)
But the companies have a huge problem with their employee age. They all soon leave into retirement and there is a huge job market for skilled low level programmers and similar low level experienced sys admins. And your thinking in os instructions or even assembler instructions is highly sought after.
Yes there is still legacy cobol in use, but it is definitely not used for new development. C/C++ and java are actually king.
rust – –
Hi and thanks for your videos. I love to do so pure stuff like c and c++. Can you tell us what kind of software you develop in your daily business?
C is absolute genius but sometimes a bit far away from the normal live of people. No GUI (normally) no Website. Nothing to see for the people. Perhaps you would like to introduce a little of your work? Thank you!
Based take
Try Golang then, feels the same as C
Can say C was funner as well.havent done C# holyC? C this holy https://youtube.com/playlist?list=PL08nm2iDugzf2kuZn3-lppGluDAXfa9Bl&si=JJH1VTPEAzxx2p0V
comment no 2000
To be honest, I fucking hate that question. Both languages are beautiful and good for their specific purposes and how deep you want to be in a certain topic / what you use cases are.
Different beasts. I use C for embedded work and C++ for, higher-level, applications.
I'm learning C right now! I'm enjoying it a lot! I'm very interested in the fact that you can work directly with memory due to it being a low level language.