C++ is an awful candidate for a first programming language to learn, at least nowadays - it is very powerful, but it’s also full of foot-guns and past a certain point the learning curve becomes a wall
Basic C++ isn’t really confusing (if you are not handwriting makefiles). It starts to get fucky when you get into memory handling, templates, etc. I’m assuming they are only using C++ over C for basic OOP (class/structs inheritance etc).
Pointers are almost always a bad idea - but you’ll probably get a lot of mileage out of having a handful of them in a large project… there’s an impulse with new C++ devs to do everything with pointers and use complex pointer arithmetic to do weird array offset and abuse predictable layouts to access stack variables etc… pointers are fine when used with moderation.
Smalltalk would probably make more sense than C++.
I was Haskalling for that one. I need to Go and shake off the Rust, maybe work on my Lisp to make sure people React well.
Node what I’m saying?
Not Ruby sure what you’re saying, but I dream of getting strangled by a Python that can’t C#. 🤤
That can only be some sort of evil Scheme, a rather Basic one. I can’t even Assembly the proper words to describe the Brainfuck
But it’s less cruel to students.
C++ is still the far and ahead leader in game programming. All the tools are written in it and everyone is used to it.
C++ is an awful candidate for a first programming language to learn, at least nowadays - it is very powerful, but it’s also full of foot-guns and past a certain point the learning curve becomes a wall
Basic C++ isn’t really confusing (if you are not handwriting makefiles). It starts to get fucky when you get into memory handling, templates, etc. I’m assuming they are only using C++ over C for basic OOP (class/structs inheritance etc).
Not really. Pointers are almost always a bad idea - just use const refs and you’ll be fine.
If using pointers is out of the question, then why choose to learn a language with explicit memory access before anything else?
I have yet to learn Rust, but from what I hear it’s simpler and (mostly?) memory-safe – implying that it’s generally a better first language to learn.
Pointers are almost always a bad idea - but you’ll probably get a lot of mileage out of having a handful of them in a large project… there’s an impulse with new C++ devs to do everything with pointers and use complex pointer arithmetic to do weird array offset and abuse predictable layouts to access stack variables etc… pointers are fine when used with moderation.
What do you mean? Pointers are the best thing ever. It either works, or you manage to make fireworks!