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.).
[ Parent
| on HN ]
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.