Re:C++26: A Placeholder with No Name
by edflsafoiewq on Saturday January 11, 2025 @09:35AM
(#42666143)
If you accept f(g()), you've already accepted that the type of every expression is not written down.
[ Parent
| on HN ]
Re:C++26: A Placeholder with No Name
by foooorsyth on Saturday January 11, 2025 @09:47AM
(#42666230)
I don’t particularly accept f(g()). I like languages that require argument labels (obj-c, swift). I would welcome a language that required them for return values as well. I’d even enjoy a compiler that injected omitted ones on each build, so you can opt to type quickly while leaning on the compiler for clarity beyond build time.