News for hackers. Stuff that matters.
Re:Cppfront, Herb Sutter's proposal for a new C++ syntax by DerekL on Sunday September 18, 2022 @05:03PM (#32891480)
Similar problems happen even in C. Suppose you have this line inside a function:

    X *y;
Are you declaring a pointer, or are you performing multiplication? It depends on what “X” is.
Re:Cppfront, Herb Sutter's proposal for a new C++ syntax by tsimionescu on Sunday September 18, 2022 @05:43PM (#32891771)
True, though in this case as well, just replacing type first to type last would presumably lead to `y *X` which doesn't help so much in resolving ambiguity.