Тёмный

Evolving JavaScript with TypeScript 

Подписаться
Просмотров 39 тыс.
% 408

Google Tech Talk
November 13, 2014
Presented by Anders Hejlsberg (more info below)
ABSTRACT
In this talk Anders will give an overview of TypeScript, a statically typed superset of JavaScript that compiles to plain JavaScript. TypeScript adds optional static types, classes, interfaces, and modules to JavaScript, enabling IDE productivity features such as statement completion, refactoring, and code navigation, and making it easier for teams to communicate requirements and build applications safely. The TypeScript language features an innovative structural type system that incorporates gradual typing and type inference. The TypeScript project is open-source and hosted on GitHub.
Speaker Info:
Anders Hejlsberg is a Technical Fellow in the Developer Division at Microsoft Corporation and works on Microsoft’s .NET and JavaScript development tools. He is the chief designer of the C# programming language and co-designer of the TypeScript programming language. Before joining Microsoft in 1996, Anders was a Principal Engineer at Borland International. As one of the first employees of Borland, he was the original author of Turbo Pascal and later worked as the Chief Architect of the Delphi product line. Anders studied Engineering at the Technical University of Denmark.

Наука

Опубликовано:

 

2 дек 2014

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@mansurali2148
@mansurali2148 8 лет назад
this will make javascript Developer's life much easier. Thanks Hejlsberg
@hansschenker
@hansschenker 9 лет назад
Just a joy to hear such a high level presentation on Javascript and Typescript. Typescript is not a language. It is a tool for adding type annotations to Javascript, which in turn allows for tooling like refactoring.
@joshuaburkholder8570
@joshuaburkholder8570 9 лет назад
TypeScript is Outstanding! TypeScript is a superset of JavaScript. C++ started out as a superset of C. TypeScript uses a source-to-source compiler (TypeScript to JavaScript). C++ started out with a source-to-source compiler (C++ to C). If Eich is the Ritchie of the Web, then Hejlsberg is the Stroustrup. TypeScript is the C++ of the Web! ... and this talk is also pretty good. ;-)
@catx
@catx 10 лет назад
Interesting. I mainly use vanilla JavaScript and CoffeeScript in projects because I found that TypeScript (and VS IDE) is a little too "heavy" for those not-so-large-scale project. But the static type checking feature is very appealing and would save lots of troubles if used in correct places. I'll definitely try it out in my next project.
@IdolBlackIron
@IdolBlackIron 8 лет назад
Great! TypeScript has got a very revolutionary syntax!
@arthas702
@arthas702 10 лет назад
I was looking forward to the qna session...
@oguntigli882
@oguntigli882 9 лет назад
Great talk from Anders Hejlsberg.
@nitrinate
@nitrinate 10 лет назад
Really cool, definitely looking forward to using this on future projects.
@loweryjk
@loweryjk 10 лет назад
Finally Microsoft does something useful in the web realm. Good work! Now I want to see TypeCoffeeScript!
@syzer3921
@syzer3921 10 лет назад
Except XMLHttpRequest that saved the web?
@loweryjk
@loweryjk 10 лет назад
You got me there. Good point.
@syzer3921
@syzer3921 10 лет назад
Josh Lowery I'm just glad I lived to see how the open-source / Firefox, killed IE
@calvinsylveste8474
@calvinsylveste8474 9 лет назад
syzer The woods are lovely, dark and deep, But you have promises to keep, And miles to go before you sleep. What bath salt inspired hallucination made you think IE was killed by firefox? Every stat i've ever seen, to this very day, shows FF trailing IE.
@tomasd2112
@tomasd2112 8 лет назад
I was looking forward to learn more about TypeScript syntax, types, codeblocks, how ti structure app etc. Instead this talk is more or less about how Visual studio handles auto-completion of typescript project. Interesting, but honestly JetBrain IDEs could do this even without TypeScript...
@yavorkirov8395
@yavorkirov8395 8 лет назад
+Tomas Dostal They do it with TS too.. Kudos to JetBrains!
@TheOlian04
@TheOlian04 8 лет назад
The idea of TS is for it to look like ECMA6 but with types, i think this video demonstrates TS perfectly.
@allesleiwand
@allesleiwand 10 лет назад
"Now that we know that a is an array" ...@~8:10... never thought that such a sentence could sound that funny.
@syzer3921
@syzer3921 9 лет назад
to sum up, one may use Typescript, OR spellchecker :)
@ervinllojku2914
@ervinllojku2914 9 лет назад
In love with typescript! Great!
@ObjectiveCoder
@ObjectiveCoder 10 лет назад
Great talk! And great to see Google and Microsoft in the same room! TypeScript is really great! Let's hope TypeScript can take off inside off Google. IMHO it's superior to AtScript/Traceur. Join forces with Microsoft instead. The excuse for developing AtScript is that they want annotations and ES6-features for Angular 2.0. I think annotations would be a great idea and is a pretty small feature to implement for TypeScript and I don't see why the TypeScript-team would not agree (Anders made them for C# after all where they are used everywhere), and TypeScript will be ES6-compliant during 2015, probably before Angular 2 is released. Help Microsoft with typescript and release angular 2 with that system. That would make Angular a strong candidate against facebook react/flux/flow for next years front-end battle.
@Proculopsis
@Proculopsis 7 лет назад
/* Compiler error in this sample code on TypeScript Playground: goo.gl/zwJK6a Select "strictNullChecks" on the Options tab */ function strictNullChecks(delegate?: (message: string) => void) { let state = `typeof delegate = "${typeof delegate}"`; if (false == (typeof delegate === "function")) alert(state); else delegate(state); // typeof delegate is always "function" } strictNullChecks(window.alert); strictNullChecks(); /* There seems to be an issue with the "strictNullChecks" compiler option when passing an optional delegate parameter. The above code works correctly but the compiler reports an "Object is possibly 'undefined'." warning for parameter "delegate". It seems to be checking for the reference being bracketed by an "if" statement checking for "typeof delegate" but ignores that the equality might be compared to "false". */
@vivekbernard
@vivekbernard 6 лет назад
if VSCode had been around this time, it would've been a perfect talk. Full VS is distracting in this context
@syzer3921
@syzer3921 10 лет назад
+1 for hardcore (use of/sticking with) 'cmd'
@calvinsylveste8474
@calvinsylveste8474 9 лет назад
TypeScript is needed because people are starting to use JavaScript in areas and for purposes it was not designed to be used. If a developer chooses not to use an existing language fit for the purpose and would prefer to use JavaScript then TypeScript will help it to be a little more fit.
@demisx
@demisx 9 лет назад
All good, except the Visual Studio part. Runs on Windoze only and way too heavy.
@mistriela
@mistriela 10 лет назад
If it compile to JS, so it's better to have a native support of Dart by the browsers... It will surely bring the web development to a new frontier !
@9164312
@9164312 10 лет назад
very interesting tool.......
@AThagoras
@AThagoras 9 лет назад
It sort of defeats the point if it allows untyped code. IMNSHA, not having strict static typing is the biggest problem with JavaScript.
@ashlynartificia
@ashlynartificia 10 лет назад
Great talk, but your vector length method could produce imaginary numbers :D
@MikeMitterer
@MikeMitterer 10 лет назад
This really hurts if you know that Dart is around...
@AdrianMeredith
@AdrianMeredith 10 лет назад
Dart is totally different, its not a better javascript its an entirely new runtime designed to replace javascript
@lepe
@lepe 9 лет назад
Hurts in what way?
@MikeMitterer
@MikeMitterer 9 лет назад
Herp Derp TypeScript is a bit a crutch here - In Dart you can! use, and most people do, static types since it startet. It was designed with an optional statical type system. Dart hast all the good things and much more Typescript tries to solve.
@AdrianMeredith
@AdrianMeredith 9 лет назад
love js
@MikeMitterer
@MikeMitterer 9 лет назад
:-) OK - then its cool. I hate JS but
@MaGnAFraG
@MaGnAFraG 10 лет назад
localCompare -> localeCompare