Re:Ask HN: Your favorite syntactic sugar from any language?
by steveklabnik on Friday June 15, 2018 @08:36PM
(#17324981)
If you have a named function, rust lets you do
as well, since functions can be used where closures can, as long as the types work.
[ Parent
| on HN ]
Re:Ask HN: Your favorite syntactic sugar from any language?
by jeffmcmahan on Friday June 15, 2018 @08:51PM
(#17325062)
Same in JS