Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I interpreted the GP to mean: "Why use `fn` instead of `function`?"

After all, he did say:

> If we need readability than function() instead of fn() would do better.



Right, I'm saying that it's not about human readability, it's about parser (and I suppose grep) readability. So the goal is to make the parse easier with as little effort on the part of the programmer as possible.

The whole word function would take up an unnecessarily large part of a line for that purpose.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: