DEV Community

Discussion on: Tired of Guessing What 'this' Is Referring To?

Collapse
 
nssimeonov profile image
Templar++

Things should be kept simple and obvious. Obvious code is great. You can change a feature years later without trying to understand it for a day and then fixing bugs, because you missed a few small details.

This is why "this" is a terrible feature in JS.

On the other hand JS has so many issues like this and that keeps away people, who try to write software without even finishing their first book and not having any idea what they do. So I call it even.