|
|
|
|
|
by gmgmgmgmgm
944 days ago
|
|
I used to be very comfortable in C++... then I stepped away for ~7 yrs. Now I'm back and I loath it. I loath that there are so many ways to wrap a pointer. The built in ones like shared_ptr, unique_ptr, etc and then all the per-project ones. On opt of which there's now std::move etc and I always need to know when to use one vs the other and when to call move vs when not and all the rules related the project's own pointer types. It really really sucks and I'm never sure I'm not breaking some rule. I'm shocked that when I was more comfortable with C++ that I didn't notice this glaring issue in front of my face. I'd much rather have a language that just "does the right thing" and or at least prevents me from doing the wrong thing. Not just leaves it as an exercise to the user to pray and hope they get it right. I haven't had the opportunity to use rust yet but one thing I think I look forward to is a more standard way to deal with dependencies and standard built tools. languages that have a popular package manager have their issues with people using too many dependencies and possibly easier supply chain attacks but dang it's night to just get shit done and not have to futs with makefiles, CMake, Ninja, Scons, auto-config, XCode projects, Visual Studio projects, etc... |
|