Live data from Hacker News

TypeScript 0.9 released

blogs.msdn.com

41–50 of 81 posts

Re: TypeScript 0.9 released

#42
post #39
post #22

Earlier quoted context omitted.

Nope. It is running on Linux/Mac/Windows (node.js module). And already has support in all major IDE (Visual Studio, IntelliJ) and text editors (Sublime, Emacs, ..)

Is there more than just syntax support in Sublime? I was pretty psyched when TypeScript was first announced but quickly bummed that the Sublime plugin didn't have any of the fancy autocomplete features.

Yes. There is Sublime-TypeScript

https://github.com/raph-amiard/sublime-typescript

Re: TypeScript 0.9 released

#43

is it just me or Microsoft is slowly converting Javascript into C#? Don't get me wrong I like typescript but next thing you know we have .NETJS floating around :)

I think major difference here is that Microsoft actually tries to play nice with the existing ecosystem

- Follow EcmaScript6 development path

- Using NodeJS as the base for the language service

- Providing plugins for various editors

- Be superset of JavaScript - you can (almost) directly drop any JS code to TypeScript

After all these years it almost looks like Microsoft has learnt its lessons and sees there is more than Windows Server out there.

Re: TypeScript 0.9 released

#44

is it just me or Microsoft is slowly converting Javascript into C#? Don't get me wrong I like typescript but next thing you know we have .NETJS floating around :)

I think major difference here is that Microsoft actually tries to play nice with the existing ecosystem - Follow EcmaScript6 development path - Using NodeJS as the base for the language service - Providing plugins for various editors - Be superset of JavaScript - you can (almost) directly drop any JS code to TypeScript After all these years it almost looks like Microsoft has learnt its lessons and sees there is more…

Actually my major grief is that they are using Microsoft's Codeplex software repository services which feel little old fashioned and cumbersome after all Github hipstering :)

Re: TypeScript 0.9 released

#45
post #34
post #27

I've been burned way too many times with Microsoft and there technology. I suggest that no one build any long lasting apps with this. They will dump it when something new and shiny comes along. Unless its based on C# or uses Visual Studio don't use it.

Microsoft didn't kill Silverlight, the iPad killed Silverlight. As for VB6, I think many here would agree that it was better off killed. You can still run VB6 apps on even Windows 8 though.

I disagree. Microsoft killed Silverlight. Your iPad argument means that we should all just skip native development and stick with HTML5.

Either Silverlight or WPF should be the favored Windows desktop development environment. Instead, they are both EOL and the incomplete Metro environment is the current way to do Windows desktop development.

In fact, if you are a Microsoft developer, you've lost Win32, MFC, ATL, WinForms, WPF, and Silverlight. The Windows desktop developer currently is waiting to see how Metro improves.

Re: TypeScript 0.9 released

#46
post #45
post #34

Earlier quoted context omitted.

Microsoft didn't kill Silverlight, the iPad killed Silverlight. As for VB6, I think many here would agree that it was better off killed. You can still run VB6 apps on even Windows 8 though.

I disagree. Microsoft killed Silverlight. Your iPad argument means that we should all just skip native development and stick with HTML5. Either Silverlight or WPF should be the favored Windows desktop development environment. Instead, they are both EOL and the incomplete Metro environment is the current way to do Windows desktop development. In fact, if you are a Microsoft developer, you've lost Win32, MFC, ATL, WinF…

All of those kits still work though and will continue to work for a long, long time. More than a decade, probably two. And...at least 3 of them are better kits than the unholy triumvirate of html, js and css.

As a developer in the Microsoft ecosystem - I have lost nothing and only gained new choices at each turn of events. That's because we run Windows internally and so do all of our clients and partners. Now tell me which one of those kits I can't use to build an app for them?

Windows RT is DOA so I'm safely ignoring Metro and it's lame sandbox...at least until general purpose computers are outlawed :)

Re: TypeScript 0.9 released

#47
post #45
post #34

Earlier quoted context omitted.

Microsoft didn't kill Silverlight, the iPad killed Silverlight. As for VB6, I think many here would agree that it was better off killed. You can still run VB6 apps on even Windows 8 though.

I disagree. Microsoft killed Silverlight. Your iPad argument means that we should all just skip native development and stick with HTML5. Either Silverlight or WPF should be the favored Windows desktop development environment. Instead, they are both EOL and the incomplete Metro environment is the current way to do Windows desktop development. In fact, if you are a Microsoft developer, you've lost Win32, MFC, ATL, WinF…

Um... Without Win32 there is no WinRT (do you think Windows isn't Windows anymore because of the advent of a new touch-first user experience and app model (with a centralized app store with simple and predictable app install/uninstall/update mechanics)?)

Without Win32 there is no Windows shell, touch first or not... There is no Visual Studio, Office, Photoshop, Premiere, etc, etc... You can have something new, different and still have what has always been there. This is what compatibility is all about... Can you run Windows 7 (and Windows XP) applications on Windows 8? Yes, of course you can.

Don't mistake the things you can't do in the WinRT environment (Win32 APIs you can't call, for example) with the end of those things (and what they are a part of)... MFC shipped a new version in 2012. WPF is at version 4.5. ATL is just a "high" level way to program COM just like WinRT, in fact... You don't need ATL any time you program to a COM-based ABI. You don't need WPF to build XAML-based WinRT apps. On x86 machines, there is a desktop for a reason and the reason is the same as it's always been.

Re: TypeScript 0.9 released

#49
post #26
post #25

This looks very interesting. Any chance it would compile to asm.js? That would be awesome.

They are going to make it happen. http://typescript.codeplex.com/discussions/438243

The trouble is that, at the moment, asm.js is not a garbage collected environment, whereas TypeScript is much closer to JS than it is to C.

Static typing alone is not sufficient to make asm.js a good target for a language, I think.

Re: TypeScript 0.9 released

#50
For people looking for an editor in which to try out TypeScript, I'll note that there's a neat looking community-written TypeScript extension[1] for Brackets[2]. (I work on Brackets).

I've been using dynamically typed languages consistently since 2005, but I'm curious to give TypeScript a try to see how it feels. The last statically typed language I used was Java (2004), and that was not a wholly pleasant experience.

[1]: https://github.com/tomsdev/brackets-typescript-code-intel [2]: http://brackets.io/

Post reply on HN