Re:Language Design: Use 'ident: Type' not 'Type ident'
by WalterBright on Friday May 01, 2020 @08:10PM
(#23047790)
Ironically the article chose the < > syntax:
Instead of the D syntax:
Not using < > for template parameters eliminates all kinds of parsing problems.
[ Parent
| on HN ]
Re:Language Design: Use 'ident: Type' not 'Type ident'
by ZoomZoomZoom on Friday May 01, 2020 @08:17PM
(#23047830)
I don't see it being ironic. In Rust () is always a tuple, so if you see it that way it makes sense () isn't used for type declaration.