Re:Cppfront, Herb Sutter's proposal for a new C++ syntax
by bhawks on Saturday September 17, 2022 @06:45PM
(#32882353)
Golang uses : to assign in struct initialization and := for new variable assignments so there is some prior art.
Practically speaking I find : to be challenging to quickly scan out of source visually. In golang this objection is muted slightly because struct initialization usually ends up being clearly indented by the formatter.
Practically speaking I find : to be challenging to quickly scan out of source visually. In golang this objection is muted slightly because struct initialization usually ends up being clearly indented by the formatter.