Live data from Hacker News

TypeScript 0.9 released

blogs.msdn.com

31–40 of 81 posts

Re: TypeScript 0.9 released

#31
post #17
post #15

I saw the original announcement of Typescript at JSconf EU last year. It was an interesting moment: everyone was expecting another Dart, or less (there's a sea of Macs and most professional JS devs experience of Microsoft is IE) but stayed to listen to the presentation out of respect for the creator, who also made Delphi and C#. Pretty much everyone came out impressed. Typescript is just JS with type hints, and neat…

Typescript is in my peripheral vision so far but that really makes me want to look into it properly. How do you think does it fit in with ES6? I feel like we're coming to a point in time where there should be a major shift in how we write javascript in a modern way -- so far my thought process has been that Coffescript is a nice stopgap before ES6 and the dust has almost settled enough to write ES6 first sorta.. Bit…

ES6 is very important for them. For example, classes and modules in Typescript are essentially lifted directly from ES6, and they aim to remain compatible with ES6 as it evolves.

Re: TypeScript 0.9 released

#32
post #2

TypeScript is a language for application-scale JavaScript development. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. Any browser. Any host. Any OS. Open Source. (C) http://www.typescriptlang.org/ Btw, I've used it a lot, feel free to ask any questions.

I wonder if there are any ugly things or traps in programming TypeScript.

Re: TypeScript 0.9 released

#33
post #16
post #15

I saw the original announcement of Typescript at JSconf EU last year. It was an interesting moment: everyone was expecting another Dart, or less (there's a sea of Macs and most professional JS devs experience of Microsoft is IE) but stayed to listen to the presentation out of respect for the creator, who also made Delphi and C#. Pretty much everyone came out impressed. Typescript is just JS with type hints, and neat…

It seems to be very close to CoffeeScript, but without this ugly Ruby syntax (for me).

It's completely unrelated to CoffeeScript, as CS does practically no static analysis and generally CS does almost nothing more than pure JS. What it does is it translates some keywords to a chunks of JavaScript code. If JS had macros - sweet.js! - Coffee would be completely unneeded.

TypeScript is entirely different thing. It adds a layer of static analysis to the language, which does not end in the code that actually runs. Generally everything you type in Coffee has an equivalent in compiled JS; it is not so with TypeScript, where you can write pages of code which won't be visible in the compiled JS.

CS and TS have different goals and are different things, and the only thing they have in common is that they both "transpile"/compile some language to another. Hardly a similarity that makes them very close.

Actually I would appreciate TypeScript implementation on top of Coffee (or the other way around, whichever would be simpler). There is a dialect of CS that supports contracts (you really, really should start using contracts anyway), but that's yet another thing that cannot hope to replace static verification of certain things in programs.

Re: TypeScript 0.9 released

#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.

Re: TypeScript 0.9 released

#35
post #17
post #15

I saw the original announcement of Typescript at JSconf EU last year. It was an interesting moment: everyone was expecting another Dart, or less (there's a sea of Macs and most professional JS devs experience of Microsoft is IE) but stayed to listen to the presentation out of respect for the creator, who also made Delphi and C#. Pretty much everyone came out impressed. Typescript is just JS with type hints, and neat…

Typescript is in my peripheral vision so far but that really makes me want to look into it properly. How do you think does it fit in with ES6? I feel like we're coming to a point in time where there should be a major shift in how we write javascript in a modern way -- so far my thought process has been that Coffescript is a nice stopgap before ES6 and the dust has almost settled enough to write ES6 first sorta.. Bit…

TypeScript is far better suited than CoffeeScript if your goal is ES6. TypeScript currently outputs as ES3 or ES5 depending on a flag. ES6 to follow. It's very much up in the air with CoffeeScript.

Re: TypeScript 0.9 released

#36
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.

Which itself could be traced back to Adobe trying to make Flash -> native iOS a thing. Apple's process is too expensive to manage the flood of games that would come from that.

Re: TypeScript 0.9 released

#37
post #22

Earlier quoted context omitted.

> It works on Linux/Mac and SublimeText A programming language works with a text editor? Wow!

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, ..)

FWIW, I've only tested emacs support. It's definitely sub-par. Barely indentation and syntax highlighting, we're still in need of a real typescript-mode for emacs.

I appreciate the effort, (I can't say the same for other Microsoft projects), but it's still not fun to play with typescript in emacs (as opposed to more mature projects like Python, C or, of course, Lisp).

Re: TypeScript 0.9 released

#39
post #22

Earlier quoted context omitted.

> It works on Linux/Mac and SublimeText A programming language works with a text editor? Wow!

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.

Re: TypeScript 0.9 released

#40
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.

You should call Microsoft and tell them what they will do in the future. They could use a person with your powers of prediction.
Post reply on HN