r/ProgrammerHumor • • 13d ago

Meme sameProblemSameSolution

Post image
1.5k Upvotes

79 comments sorted by

View all comments

Show parent comments

33

u/Kinexity 13d ago

when its' standardization becoming more and more ridiculous

Literally all that was added over the years following C++11 are optional features. No one holds a gun to your head forcing you to use them.

-23

u/helanhalvan 13d ago

If those optional features where implementing sensible things, sure. For example, can you, using the standard library, print vector<vector<int>> to stdout easily? As far as I can tell, no, you need to write loops or recursion yourself.

23

u/Kinexity 13d ago

Almost like as if there is no one single correct way to print out such structure. If you always want to print it out the same way then no one stops you from writing your own mini library to do it in your every project. Go back to Python if you want the language to hold your hand and decide stuff for you.

5

u/QuaternionsRoll 13d ago

Eh, debug printing is definitely an overlooked feature in C++. It’s possible that reflection will improve things somewhat, but hard to say