News for hackers. Stuff that matters.
Re:Cppfront, Herb Sutter's proposal for a new C++ syntax by rafram on Saturday September 17, 2022 @01:23PM (#32879284)
I’m not sure I’d := is a “modern trend.” Smalltalk had it circa 1972, but none of the modern-day hip languages I can think of do. Your latter example is a common syntax, but the colon is omitted with the type in most languages (TypeScript, Rust, etc.).
Re:Cppfront, Herb Sutter's proposal for a new C++ syntax by charcircuit on Saturday September 17, 2022 @02:45PM (#32880159)
X being a modern trend does not mean it was not done in the past. It doesn't mean that it hasn't trended in the past either.
Re:Cppfront, Herb Sutter's proposal for a new C++ syntax by the_af on Saturday September 17, 2022 @08:04PM (#32882937)
So what does it mean then?

It was done in the very distant past. It was done in the intervening time. And it's done now. "Modern" trend?