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

I don't personally think there's anything complicates about arrow functions. They're syntactic sugar for `function() {}`, with the exception that they have sensible binding of `this`.

I do agree that Lua is simpler, but I don't think this is an area where JS is that bad.



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

Search: