I know some 9ers never attend anywhere but for the forum so link is here.
-
-
how do I test out the result on my IE or other browsers? I mean, is it hard to read the compiled code?
-
The compiled code is very easy to read. After all, TypeScript is a Javascript feature superset. So it's not the end of anything but another path to Javascript. Go watch the video!
-
It has been done before and arguably better. We've been using CoffeeScript for some time, it's a good example of a language that improves JavaScript significantly while not being some kind of totally different idea or doing silly things like adding static typing.
-
@Bass:Yeah but it is not supported by a big powerhouse software company.
-
It has been done before and arguably better. We've been using CoffeeScript for some time, it's a good example of a language that improves JavaScript significantly while not being some kind of totally different idea or doing silly things like adding static typing.
The whole point of this is to add static typing to JavaScript. Whether you think that's a good idea or not, a language that doesn't do that isn't doing "it", better or otherwise.
-
-
@exoteric:
Just watched the video. Looks promising. With enough tutorial and community support, I will totally jump on it.
Didn't see watch it clearly, but, how do I mix and match JavaScript? I mean, if I didn't include the declaration file, can I still use it? So, what is going to happen when I use TypeScript to a method that takes ANY and return ANY?
One scenario is that I want to have a strange method that can basically works for ANY. Like perhaps adding new attribute to ANY type? I don't know if this is possible in JS yet, but, I remember a bit that this can be done.
-
8 hours ago, Bass wrote
It has been done before and arguably better. We've been using CoffeeScript for some time, it's a good example of a language that improves JavaScript significantly while not being some kind of totally different idea or doing silly things like adding static typing.
This makes no sense. "X has been done before except while not doing X."
-
The end of this thread?
TypeScript is JavaScript...C
-
How about JavaScript is finally Dead. Long live TypeScript!
-
Ha, maybe it should be called TurboJavaScript

-
So I would describe TypeScript as a Decorator for JavaScript; wrapping it and adding additional features. Seems like a pragmatic approach to make the most of the current technology without expecting everyone to adopt a new standard.
Herbie
-
It's a signature of Coffeehouse to have misleading thread titles for dramatic effect, annoying as it can be

-
First I see this as a good thing. a) It's open source, how can that be bad?, b) Already I see some die hard Microsoft fanbois (yes, there are some of those left
) who swore they wouldn't touch JS with a 10 meters pole hailing this as the thing which saved JS. Good for you. Please use this.I have said before on the IE blog, "Microsoft was brought into HTML5 screaming and kicking", after a long detour into Silverlight. So now I say: Microsoft came into open source screaming and kicking, but came it did. Welcome (not that I am a great OS contributor, or any contributor).
I'm just curious what's Anders, or Microsoft, take on releasing dotnet on the same terms, or when he came to realize that open source was any good. (I'm not saying that all the great guys who contribute to open source were like that for their entire professional life, but still, it seems Microsoft were last, please close the door after you
)EDIT: And for that matter, and i'm sure Andres isn't reading this, but what's your take on Microsoft calming Linux infringes on 287 or so of their patents??
-
@fanbaby: This is hardly the first open source project MS has done. Parts of .Net's web stack, like ASP.NET MVC, have been open source for a while now.
-
@fanbaby: .NET 4.5 source code is available http://blogs.msdn.com/b/dotnet/archive/2012/08/15/announcing-the-release-of-net-framework-4-5-rtm-product-and-source-code.aspx
It isn't open source, but it is fantastic to be able to debug
-
Just to add to my post, open source is great isn't it? We live in a great time. OS is the great equalizer. How else can a single guy create something, say jQuery or CoffeeScript, which decimates other work by large teams, whether open or close.
So today Microsoft added yet ANOTHER transpiler. Great. News at 9. You see, in this new world, the fact that it's Microsoft, or Google, or Apple or anyone, means nothing.
Add your 2¢