Feels a bit like being told to do brain surgery and getting handed a hatchet, especially in the modern era.
Like, its a great learning language precisely because it does force you to think about what’s actually under the hood of your objects and attributes. You actually have to learn what a pointer is. You actually have to think about memory usage and system states. Its like Bio 1 when they have you dissect a rat.
But without a ton of library support, you’re doing so much heavy lifting. And with a bunch of library support… why not just use C#?
…do you mean C++ or just C? Cause, sure, you can poke around with pointers and references in C++ but it can also be used just like any other OOP language, whereas in C it’s absolutely necessary since it’s not an OOP language.
Cause, sure, you can poke around with pointers and references in C++ but it can also be used just like any other OOP language
Fair. It is harder to break things in C++ than C. Although I’ve definitely created a few memory leaks.
I’ll admit I haven’t actively fucked with C++ in over a decade, but in my experience you’re not going to find the kind of native integration with - say - Azure or SQL that’s baked into more modern languages. You can work around this with libraries. But eventually you’re just emulating a higher level language.
Feels a bit like being told to do brain surgery and getting handed a hatchet, especially in the modern era.
Like, its a great learning language precisely because it does force you to think about what’s actually under the hood of your objects and attributes. You actually have to learn what a pointer is. You actually have to think about memory usage and system states. Its like Bio 1 when they have you dissect a rat.
But without a ton of library support, you’re doing so much heavy lifting. And with a bunch of library support… why not just use C#?
…do you mean C++ or just C? Cause, sure, you can poke around with pointers and references in C++ but it can also be used just like any other OOP language, whereas in C it’s absolutely necessary since it’s not an OOP language.
Fair. It is harder to break things in C++ than C. Although I’ve definitely created a few memory leaks.
I’ll admit I haven’t actively fucked with C++ in over a decade, but in my experience you’re not going to find the kind of native integration with - say - Azure or SQL that’s baked into more modern languages. You can work around this with libraries. But eventually you’re just emulating a higher level language.