r/javascript • • May 15 '17

Don't Overcomplicate Javascript #0

https://bits.ristic.io/dont-overcomplicate-javascript-0
35 Upvotes

34 comments sorted by

View all comments

10

u/mediumdeviation JavaScript Gardener May 15 '17

For me at least the benefit of not having stringly-typed identifiers is that IDEs and linters can easily inspect and autocomplete these for you - http://imgur.com/ub29AqD.

It's the same reason why Swift's enums are so awesome. The point is not that it makes typos easier to detect, but to make typos impossible.

3

u/rista404 May 15 '17

Yeah, autocompletion is indeed powerful.