8 ms·
Say what you want about whether this is a good idea or not, it is clear at least part of MS is really serious about open source. * TypeScript is under the Apac
by cek 14y ago
Say what you want about whether this is a good idea or not, it is clear at least part of MS is really serious about open source.
* TypeScript is under the Apache 2.0 license [1]
* Source is available via git on Codeplex [2]
* Installation is as easy as npm install -g typescript [3]
Extra bonus coolness: They've provided an online playground like jsfiddle! [4].
[1]http://typescript.codeplex.com/license http://typescript.codeplex.com/license
[2]http://typescript.codeplex.com/SourceControl/changeset/view/d397c54a55db http://typescript.codeplex.com/SourceControl/changeset/view/...
[3]http://www.typescriptlang.org/#Download http://www.typescriptlang.org/#Download
[4]http://www.typescriptlang.org/Playground/ http://www.typescriptlang.org/Playground/
- OriginalSyn 14y agoI don't know when it happened but CodePlex got a makeover as well, it looks good.
- JimmaDaRustla 14y agoMicrosoft also has Github a account/accounts - I thought they were going use it for all their open-source projects, but they seem undecided now.
- nigelsampson 14y agoI believe a lot of the teams were jumping on Git for source control before Codeplex had Git support. A little awkward in that stuff is split, but still awesome to seem more stuff like this.
- Rhino55 14y agoThis is an absurd and outrageous statement. Akin to the full pay glossy ads for oil companies in Vanity Fair with messages like "We care about people and nature". M$ is serious about embrace, extend, extinguish. M$ is not serious about supporting the computing community, is not serious about creating powerful platforms, and has gone out of its way to serious damage the knowledge economy. Microsoft will destroy this technology just like it destroys everything it touches. Microsoft is the Chuck Bass of computing. If you get that reference, you are probably looking at someone else's computer right now. The thing you see in front of you is, perhaps 10% Microsoft and 90% the work of a small number of dedicated individuals. Microsoft has shown a track record of destroying good technology and ignoring the community standards process. I sincerely hope that someone rips this idea off and liberates it from Microsoft. Typed JavaScript is not patentable or copyright-able, and Google beat the daylights out of Oracle over Java, so I think this is fair game. tl;dr I give this project 18 months before the M$ business machine starts using TypeScript as a weapon.
- colin_jack 14y agoI have to admit I'm impressed with MS here. Contrast Dart and TS. Dart announced a year ago and they're only now dealing the JS interop issue, so to most people its still only really interesting as a play thing. TS announced and from the looks of if we choose to we can immediately start using it. I know Dart is more ambitious and maybe long term their focus on issues other than interop will be proved to be correct, but I doubt it.
- discreteevent 14y agoGoogle deliberately opened up dart development early. I thing that was a good thing. They could have kept it closed and released it today, it's roughly as mature as type script seems to be. Would you have been happier with that?
- maratd 14y ago> Would you have been happier with that? Yes. Google (and others) need to stop releasing half-baked products. You release something half-baked, even if it gets up to speed down the road, people will still have perceptions of it being half-baked. The above exchange is typical.
- mtgx 14y agoOnly when it suits them. When it doesn't, they go after the companies using it with the threat of lawsuits.
- kibwen 14y agoAlso cool: in addition to the expected Visual Studio support, they've also provided support for Sublime Text, Emacs, and Vim. http://blogs.msdn.com/b/interoperability/archive/2012/10/01/sublime-text-vi-emacs-typescript-enabled.aspx http://blogs.msdn.com/b/interoperability/archive/2012/10/01/...
- caseyohara 14y agoSourcing typescript.vim throws errors: http://pastebin.com/raw.php?i=HHDJDG7X http://pastebin.com/raw.php?i=HHDJDG7X
- nigma 14y agoThe online playground can do live syntax and type checking as well as provide function call hints. That's pretty cool.
- PabloOsinaga 14y agoand you can also see in realtime the typescript -> javascript compilation as you type your typescript code. pretty cool.
- BrendanEich 14y agoAgreed.
- DougWebb 14y agoI started doing C# development last year, coming from mostly a Unix/Perl platform, and I'm really glad about the timing because that's when Microsoft got serious about open development. I started doing web apps using ASP.NET MVC3, and this year MVC4 was released as an open-source project[1]. It seems that a bunch of 'young turks' have reached higher management positions in most of the key software development products within Microsoft and they're all pushing for this kind of open source approach. [1] http://aspnet.codeplex.com/ http://aspnet.codeplex.com/
- skrebbel 14y agoRoughly the same story here. At the risk of sounding like a fanboy, I feel that while most tech BigCos (e.g. Google, Apple) have become more evil over time, MS has actually become less evil, to the point that using their tech (and some major tech at that) is relatively free of any lock-in risk. TypeScript seems very much in line with this trend, and I love it. This is exactly what I wanted - JavaScript but with decent safety and IDE support. And no more than that. I really hope that non-MS-geeks will embrace it and that Eclipse plugins and JetBrains tools and the likes will follow. That said, ASP.NET MVC is a misguided and overrated Rails ripoff, IMHO. Where's all that great refactoring support if everything is made `dynamic` and stringly typed? What's up with matching parameters to method argument names? (I mean, change an argument name and your code breaks? wtf?) Since when does Microsoft tech favour magic over clarity?
- euroclydon 14y agoHow would you otherwise map GET and POST parameters to method parameters? Have you heard fo model binders? With them you can accept a class as a parameter.
- meanguy 14y agoUm, you know how Rails binds, right? Also: MVC2 runs under NET 3.5 which doesn't even have the dynamic keyword. (I don't use dynamic in MVC3 or MVC4 either...) The "stringly typed" (magic string) stuff was always avoidable. Regardless, see the [CallerMemberName] annotation and others which solves it back to INotifyPropertyChanged. Now that the backlog of Microsoft tools have shipped, the scaffolding makes a bit more sense. The MVC team released multiple versions (open sourced!) instead of waiting for VS11. Which actually lines up with your core argument.
- shawnb576 14y agoInteresting. Worth noting that the Azure SDK [1] was released on GitHub over a year ago with the same attributes. The move to Codeplex is concerning. [1] https://github.com/WindowsAzure/azure-sdk-for-node https://github.com/WindowsAzure/azure-sdk-for-node
- jules 14y agoUsing their own platform instead of a commercial competitor that is also closed source is concerning?! Would it also be concerning if github hosted their open source projects on github instead of on codeplex?
- chollida1 14y ago> The move to Codeplex is concerning. What's concerning about moving the location where Microsoft hosts their code?
- polarix 14y agoWell, for one, their git integration is just bad. Looks like it only supports https password auth. Also I would really miss markdown integration after a while.
- eranation 14y agoMicrosoft is doing a lot of community trust building steps that I wish Oracle / Sun were doing, I wonder if people take it seriously and if Microsoft will be ever "Cool" again in the startup / hacker community, or is taken as PR attempts? I personally like it.
- hermanhermitage 14y agoThis looks excellent a nice restrained effort. Hasn't fallen into the trap that ActionScript3 did with too much ceremony, and its nice to see a syntactic super-setting approach rather than Dart's. Now what I'd like to see in Javascripts evolution (non backwards compatible): * Subract: Removing parts of the language - let crockford free to rip out the bad parts. * Enhance: Bring in some more taste of Scheme. * Replace: New scoping for var etc, without introducing new keywords.
- jasondenizac 14y agonew scoping for `var`? Like the block-scoped `let`?
- hermanhermitage 14y agoYes. I'd prefer to change the semantics than introduce new keywords. Of course there are two schools of thought - I favour a small language over backwards compatibility. (And interim tools for migration). Where I do favour extensions is for expressiveness or performance reasons.
- gcr 14y agoWhat would more "taste of scheme" mean? Do you mean like lexically-shaped macros?