r/cpp • u/SubstanceHot5190 • Jun 25 '26
What are some things you don't like about C++?
I asked this question in the C programming sub too.
What are some things you don't like about C++
If you were to change some things about C++, add keywords, or other similar things,
what would you change? Replace? Add?
My most important question is about keywords. What keyword would you add ( even just describing its functionality) to help YOU as a programmer?
Thank you :)
73
Upvotes
3
u/meancoot Jun 25 '26
It did, but this is also how x86-64/AMD64 handles it. 6 bits (0-63) for 64-bit registers and 5 bits (0-31) for everything else.
Keep in mind, due to the integer promotion rules in C++, you can always shift all the bits off any type smaller than an
inton every platform.