Settings

Theme

Ask HN: Has “You Don't Know JS” Convinced Anyone Not to Go with Typescript?

2 points by yellowboxtenant 9 years ago · 0 comments · 1 min read


Almost finished with the series and two major points I received were:

1. Implicit coercion isn't all that bad because once you understand it you can leverage it's power.

2. Javascript pseudo-classes aren't worth using because the code is hard to follow and they aren't real classes. Using "delegation-oriented design" patterns like Simpson's "objects linked to other objects" are more true to the essence of Javascript, and thus should be used.

Based on these two points it would make sense that Simpson isn't a fan of Typescript, which emphasizes strong types and classes.

The thing is...I can't remember a time where I really needed implicit coercion. And with Typescript making classes work more like traditional class oriented languages, what's the real problem?

Am I missing out on leveraging the "full power" of Javascript by choosing Typescript?

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection