DEV Community

Discussion on: Is `this` in Javascript bad?

Collapse
 
scottishross profile image
Ross Henderson

I have no reason for it, nor do I use JS a lot in my work. But whenever I do I avoid using this, as I just feels too ambiguous. I like being very clear and direct in my code, and if that means I need an extra two lines, that's just the way I prefer it.

Though in a lot of cases it would have made things a lot easier for me.