News for hackers. Stuff that matters.
[dead]
Re:Cppfront, Herb Sutter's proposal for a new C++ syntax by adamdusty on Saturday September 17, 2022 @09:53PM (#32883610)
I see what he's going for, with the function signature separated from the identifier, it might improve readability. My initial reaction is I don't love it, but it's not that bad.
Re:Cppfront, Herb Sutter's proposal for a new C++ syntax by neutrono on Saturday September 17, 2022 @03:09PM (#32880418)
how is auto main() -> int { hello ("world\n"); } any better?
Re:Cppfront, Herb Sutter's proposal for a new C++ syntax by stjohnswarts on Saturday September 17, 2022 @02:01PM (#32879703)
looks like they crossed rust and javascript and came up with something worse lol
Re:Cppfront, Herb Sutter's proposal for a new C++ syntax by Koshkin on Saturday September 17, 2022 @01:55PM (#32879642)
The semicolon cancer is still there. Good.
Re:Cppfront, Herb Sutter's proposal for a new C++ syntax by tricky777 on Saturday September 17, 2022 @04:59PM (#32881516)
semicolons help the parser. easier to point where erroneous statement began.