Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
BoomeH21248y@neumann To write better code and to understand what's _really_ happening when I get helped to numbness by the JVM for example. I feel like I've hit a plateu where I don't actually learn to write better, more precise, code. Instead it comes down to more language specific techniques and tools
-
neumann6618y@BoomeH thats a great reason to learn it
you should always know what happens one level below -
@BoomeH If you haven't already, "The pragmatic programmer" might help you leaving your plateau. The hard thing with C is memory management, and the fact that it really doesn't help you staying organized.
-
SLiX1328yNext week I'll write an exam about c and assembler (inline), stack, etc
I'm shitting my pants -
firusvg13788yDon't get me wrong - avoid C and go straight to C++ If you don't, some bad C habits will persist when you go to C++
And, in a very loose and broad sense, C++ is superset of C, so, when you know C++, you can say you also know C. -
@firusvg If OP wants to learn what's "really happening", for example in terms of memory management and pointers, they're better off with C than C++, especially a modern version.
-
firusvg13788y@Gauthier Oh, I didn't see his reply. But, if OP really want to learn what's happening under the hood, perhaps he should go with assembler?! ;)
-
@cors I thought black holes happened when you divide by zero? And yes, one would say "I have an exam". 🙂
-
I learned C++ in college. Once I got into the "real world" I never came close to touching it.
Recently, I stumbled upon some old homework assignments using C++ and thought to myself "I bet I could destroy these assignments now with all my experience"
I start a new C++ project. Within 5 minutes I realized how little I remembered about the language. I could have done the assignment in less than 30 minutes in C#, but I found myself researching some very basic stuff.
Embarrassed at my lack of knowledge, I decided then that I was going to re-learn C++. I had much the same motivation, to break some of the bad habits more managed languages can create, and trying to write better more optimized methods.
Goes a lot faster doing a refresh than learning it for the first time. So far it's been very satisfying and inspiring. It really is a huge advantage to know a "lower" high-level language that doesn't do everything for you!
I should really learn C
undefined