Comment by tritipsocial
2 years ago
I think it's an elegant design decision, because it allows the use of a more compact and readable function definition for nested functions. The 'fn' allows you to omit names and types, and so the shorter keyword (fn vs func) indicates the function definition may also be shorter.
No comments yet
Contribute on Hacker News ↗