Hacker News new | past | comments | ask | show | jobs | submit login

> Could you elaborate why you don't like the 'perl/python' style changes?

It's really just a style preference. I enjoy the "look" of C-family code.

>why one would choose to limit oneself to things like .bind(this)

I know 'this' is a source of pain for a lot of people. For me, I see it a source of flexibility. I've found the ability to control the context at will to be a huge benefit. It's a feature I miss when I'm writing in other languages.




> For me, I see it a source of flexibility. I've found the ability to control the context at will to be a huge benefit. It's a feature I miss when I'm writing in other languages.

But that's why you can still use the regular functions... I don't quite understand how having the added option of a more concise syntax with automatic binding to the surrounding context is less flexible. I often find myself using the regular function declarations to differentiate between different sorts of functions. The arrow notation is opt-in.

Or is your issue that when you work with other people's codebases, you have no option to opt-out?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: