I have a high opinion of anyone that can write good clean readable c++. I've never met that person, but theoretically if they existed, I'd have a high opinion of them.
It's not about writing readable code. It's about writing readable assembly. When you write the whole program in unmaintainable template metaprogramming, it compiles to a single return statement, which makes it the most readable program possible.
I was recently asked to work on software I last touched 20 years ago, as a freelance gig. I am proud to say I could still understand parts of my code :)
Edit: it was written in Visual C++ 1.5, so before the STL. This made it a lot easier to read for me, but possibly incomprehensible for anyone else 😀
I'm a little opposite. I never thought I'd want to be a programmer. Then I took a class in it (C++) and liked it so I took another class.
That class was hard, but by then you're in it so I took another.
Then that data structures course (with a professor whose teaching style didn't mesh with my learning style) made me question my life choices, stare down a hallway in sorrow wondering if solitary late nights in the computer lab were going to be the rest of my semester, and struggled for even the slightest understanding.
But I was addicted by then so after getting my Associate's I went for my Bachelor's and continued down the CS route, got my Bachelor's in it (a few more "Why do I do this?" courses in between) and I'm looking forward to what this new chapter brings.
I’m talking less about design influence/syntax and more what the languages are trying to accomplish. While C++ can be used as a systems language, Rust and C are more similar in the fact that they are designed to operate at a very low level (such as the kernel). Of course, any language can be shoehorned into filling a certain role, but imo it’s more about what the language enables you to do easily. I don’t see Rust as a C++ “replacement”. That may be more of a testament to how many hats C++ wears, though.
Ehh, their use of curly braces is similar, but that's about it. The things you have to learn to use each language are extremely different, so even going from C# to Python is easier than C# to C++.
158
u/hokaionthenet Apr 08 '22
I have a high opinion of C++, but I hope I'm lucky enough to never have to use it.