Hacker News new | ask | show | jobs
by scriptproof 2240 days ago
If consistency if so important, why do we have: function, func, fun, fn, def, etc... depending the author? For clarity, use "function", for simplicity use "fn", other forms are just fancy.
1 comments

If consistency if so important, why do we have: function, func, fun, fn, def, etc... depending the author? For clarity, use "function", for simplicity use "func", other forms are just fancy.

"This is the standard we should all adopt!" https://xkcd.com/927/