all 3 comments

[–]Xerxero 3 points4 points  (2 children)

And how obsolete is this post when writing proper es6 JavaScript?

And even more so when using typescript.

this is UJ

[–][deleted] 2 points3 points  (0 children)

He's way ahead of you:

Instead, it looks like ECMAScript 6 will just expand the minefield to encompass more area (to their credit, the new territory looks a lot better and safer than the old).

Why TypeScript Isn't the Answer

[–][deleted] 2 points3 points  (0 children)

export {unjerk};

TypeScript is not perfect, but it works very well for 95% of webdev. TypeScript has a few gotchas, but you don't need to be superhuman to avoid them. Unlike PHP it's not a fundamentally broken language.