Slashdot Mirror


Google's Angular 2 Being Built With Microsoft's TypeScript

itwbennett writes Big news for fans of static typing! Google and Microsoft have partnered to both enhance TypeScript and rebuild Angular in the TypeScript language. TypeScript, Microsoft's attempt at improving on JavaScript development, has been out there for a while without a notable use case. Likewise, Dart, Google's attempt at a language which accomplishes many of the same goals, hasn't seen a lot of traction outside of Google. With Google creating the next version of its popular framework Angular 2 using TypeScript, some weight is being thrown behind a single effort. Of course, Angular has its fair share of haters, and a complete re-write in version 2 that breaks compatibility with previous versions isn't going to help matters.

17 of 91 comments (clear)

  1. Re:This is really old news by dos1 · · Score: 4, Informative

    Your info is out of date - a few days ago AtScript merge with TypeScript has been announced, so Angular 2 won't be written in AtScript, but TypeScript itself.

  2. Re:Fuck Google and Micro$hit. by mikaere · · Score: 5, Informative

    Bollocks. TypeScript is open source, just like Angular.

    --
    It's good luck to be superstitious
  3. Re:This is really old news by Hadlock · · Score: 4, Interesting

    Interesting use of TypeScript, an entire rougelike (i.e. Nethack, i.e. the '@' game) game authoring library written in TypeScript, from the author of libtcod:
     
    Game: http://roguecentral.org/doryen/yendor.ts/game/index.html
    60fps example:http://roguecentral.org/doryen/yendor.ts/bench/index.html

    Library:https://github.com/jice-nospam/yendor.ts/releases/tag/v0.4.0
     
    What's interesting is it does alpha shading, fluid mechanics, cloud mechanics, terrain generation etc all inside of a text based game, somewhat like Dwarf Fortress but a lot more flexible graphically.

    --
    moox. for a new generation.
  4. Re:Not going to end well by Richard_at_work · · Score: 5, Insightful

    Yes, it "worked out" with Microsoft opening up Entity Framework, ASP.Net, vNext, .Net, C#, F#, Typescript and a host of other things, on the industry standard platform for open source projects, GitHub, using the industry standard SCM for open source projects, git.

    How did it "work out" in your mind? Because from where I'm standing, open source won, it embraced and extended MS...

  5. Re:Fuck Google and Micro$hit. by Anonymous Coward · · Score: 4, Funny

    Shut up with your facts so I can keep spelling Google as Scroogle and Microsoft with a dollar sign.

  6. Re:JavaScript framework du jour by mrbester · · Score: 2

    And it too will have its own way of doing things that nothing else does, just like Angular and React are right now. At least jQuery was open from the beginning that devs should know the language that it mostly shielded them from. Now it doesn't seem to matter; job postings are mainly for those who can write , not JavaScript. Don't know the particular framework du jour (or preferably *all* of them)? Tough.

    --
    "Wait. Something's happening. It's opening up! My God, it's full of apricots!"
  7. Re:Wut? by digsbo · · Score: 4, Insightful

    It would appear you're not a web applications developer, then. AngularJS is a leading framework for web app development, and TypeScript is suddenly the most likely language to emerge from the pack of "front-end-statically-typed-languages-that-compiles-to-Javascript". If you're not doing web apps, you don't care, but lots of people will.

  8. Re:This is really old news by jez9999 · · Score: 2

    An abacus is more graphically flexible than Dwarf Fortress.

  9. Re:JavaScript framework du jour by Tailhook · · Score: 5, Interesting

    In a month

    Release 0.9.0 of Angular was 52 months ago and the appearance of the next framework that topples it will be the first. As a web developer, if you haven't actually used Angular for at least experimental purposes by now then you're an old fogy that's likely to get canned for someone more current.

    Angular 2.0 won't trip up anyone and going with Typescript was a smart and pragmatic decision; the Angular team does not indulge NIH, apparently. That sort of humility and wisdom is both rare and a big part of the reason Angular remains popular. The tools that typical Angular developers use already integrate Typescript declarations for auto-complete, detecting errors, etc., and now that will just get stronger.

    Google could have used their momentum and mind share to bull AtScript into yet another Javascript hairball. They could have and they didn't. That deserves acknowledgement.

    So Typescript is the way. Microsoft has actually managed to contribute something they can't monetize to the modern web stack. How times have changed.

    --
    Maw! Fire up the karma burner!
  10. Re:JavaScript framework du jour by WinstonWolfIT · · Score: 2

    Perhaps but I recently got back into Knockout on an engagement, and I'd rather use Angular at the dentist than go back to that du jour again.

  11. Re:Wut? by TechyImmigrant · · Score: 3, Insightful

    Hmm. I do web apps in Python with CGI. But people pay me to do crypto hardware.

    I guess I can wait another five minutes for the next web framework to come along.

    --
    I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  12. Re:JavaScript framework du jour by Billly+Gates · · Score: 2

    IE invented Ajax and css. My have people forgotten this. Much of IE 6 css had css 3 functionality. Just Web standards moved away from it in 2001

  13. Re:And Dart? by enantiomer2000 · · Score: 2

    Actually they will be writing it in typescript which will compile to both AngularJS and AngularDart projects. Two birds with one stone. It is pretty awesome actually...

  14. Angular: meh. TypeScript: great. by tgv · · Score: 5, Insightful

    I don't care about Angular. It's just another tool for the saps in the web page mines (and one that can get you trapped in those mines as well).

    TypeScript, OTOH, is the greatest addition to JavaScript I've seen. No more messy .prototype., and much less "can't read property 'x' of undefined". It's not there yet, I must say. I would like it to add some more transformations instead of just type checking, but if you have to write in JavaScript: do yourself a favor, and check it out.

  15. Re:And Dart? by shutdown+-p+now · · Score: 2

    TypeScript is a strict superset of JavaScript (in fact, the only thing it adds on top of ES6 is static type annotations - strip those from the AST, and you've got valid ES6 code with same exact semantics). Dart is not.

  16. One question by jeillah · · Score: 2

    What major Google product uses Angular?

  17. It's a *trap* :) by ChunderDownunder · · Score: 3, Funny

    Also how are the tools for typescript? Having static typing but no auto-complete IDE is a major drawback.

    Visual Studio 2013.