r/cpp • u/Its_Blazertron • Aug 25 '21
Experience C++ developers: do you enjoy using C++ (even for personal/hobby projects?)
Do you actually enjoy using C++, or do you only use it for work, or purely for performance? This question is aimed at people with years of experience, who've worked on large projects in C++. I see people who dislike the language, but use it purely for performance reasons. This sort of discourages me from learning it. I don't want programming to feel like work.
204
Upvotes
2
u/ohell Aug 25 '21
Amen! As a scientist who has to program in C++ when I don't find any existing tools that will do the job, and data is too much for python to handle, I just want to write a program and be done with it.
Personally I feel that C++ barrier to entry appears artificially higher because everyone pretends they are writing a library that the whole world will use for the next 50 years!
So many recommended practises only make sense in the context of writing libraries. For writing applications I just throw something together using as many standard containers and algorithms as possible, and if performance is a problem then I'll run perf to see if I replacing a
mapwithunordered_map, passing by reference etc might help.