News for hackers. Stuff that matters.
Re:Why Angular 2 Switched to TypeScript by namelezz on Saturday July 23, 2016 @11:16PM (#12152072)
I remember TypeScript creator(forgot his name) mentioned that it's extremely difficult to do refactoring right in JS.

Edit: https://youtu.be/lT07c3OREL8?t=713

Re:Why Angular 2 Switched to TypeScript by zastrowm on Saturday July 23, 2016 @11:56PM (#12152159)
Anders Hejlsberg is who you're thinking of.

> He was the original author of Turbo Pascal and the chief architect of Delphi... the lead architect of C# and core developer on TypeScript.

(from wikipedia)

Re:Why Angular 2 Switched to TypeScript by protomyth on Saturday July 23, 2016 @11:40PM (#12152130)
I would find it interesting to know why refactoring tools are successful in Smalltalk but not JS.
Re:Why Angular 2 Switched to TypeScript by hota_mazi on Sunday July 24, 2016 @12:55AM (#12152267)
They're not successful in Smalltalk: the absence of type makes automatic refactorings unpredictable because the compiler simply can't guarantee you that it's not breaking anything.

Today's automatic refactoring IDE's are light years ahead what the Smalltalk Refactoring browser ever did.

Re:Why Angular 2 Switched to TypeScript by protomyth on Sunday July 24, 2016 @07:18AM (#12153029)
Saying they are not successful in Smalltalk doesn't jive with the history of refactoring browsers in Smalltalk. I doubt the widespread use of a tool in a language if it didn't work.