Re:"Useless Ruby sugar": Endless (one-line) methods
by kagakuninja on Friday December 01, 2023 @02:38PM
(#38491191)
Not a Ruby guy, but Scala uses that syntax for all method declarations:
It works fine IMO. Scala 3 introduced Python-style syntax, in which {} is optional:
[ Parent
| on HN ]
There are no comments on this comment yet.