2 ms·
> Show me how I don't have to choose between value, reference, raw pointer, unique_ptr, shared_ptr, etc, to pass a damn parameter to your function. This really
by TillE 8y ago
> Show me how I don't have to choose between value, reference, raw pointer, unique_ptr, shared_ptr, etc, to pass a damn parameter to your function.
This really sounds like your problem isn't with C++, it's with, well, any language that's "low-level" enough to distinguish between values and references.
I grudgingly used C++ for years because at least it was better than C, but since C++11 it's actually been a great experience. Honestly my only complaint about modern C++ development is that the compile times are painfully slow. There are quirks, but overall it's now a wonderfully usable language.
Though obviously you shouldn't bother with C++ if you're working on stuff that could just as easily be written in Python or whatever.