logoalt Hacker News

zlfnyesterday at 6:46 PM3 repliesview on HN

C++ seems to be constantly getting complicated. If the major version were to change, there wouldn't be any need for backward compatibility with the existing code, and it would have been okay to delete that syntax while creating an automatic formatter.


Replies

PaulDavisThe1styesterday at 9:17 PM

>If the major version were to change, there wouldn't be any need for backward compatibility with the existing code,

I have no idea where you get this idea from. I expect gcc v28 to be able to compile C++ from 2008, and I'm not alone in that.

show 1 reply
dnmcyesterday at 6:48 PM

Are you suggesting we move to C++++?

show 3 replies
recursivecaveatyesterday at 10:52 PM

I mean this is extremely minor, but the more incompatibility you create the slower the uptake will be. In the extreme you could create a Python 2->3 situation over old syntax.