الحلقة 28 من بودكاست اسأل مطور في هذه الحلقة نناقش تقنية TypeScript و نناقش مميزاتها و عيوبها و المحاولات السابقة و المنافسة لهذا التقنية.
Agenda
- What is type script?
- Javascript is super popular, however
- Type system suck ==> Tooling is limited.
- No modules
- Everybody is trying to fix that
- JavaScript is the only language approaching the dream of a unified language for client and server
- JavaScript was not designed for big systems
- Everything runs in the global namespace.
- Features added for convenience like type coercion can result in unexpected results
- Javascript The Good Parts
- Similar Attempts
- Attempts to fix No-Modules problem
- RequireJS
- Dojo's AMD
- Google Dart
- Coffeescript
- GWT
- Script#
- Microsoft TypeScript
- From the C# guys (Anders Hejlsberg)
- Open Source
- Superset of Javascript, and compiles to Javascript, no browser changes needed
- Provide type system in a nice way, with minimum explicit type declaration possible
- Provide classes, interfaces, inheritance, Generics … etc
- Compatible with ECMA Script 6 specs.
- Provides a way to add documentation like XML-Documentation in C#/VB.NET.
- Based on JSDoc
- Example from the TypeScript core files:http://typescript.codeplex.com/SourceControl/changeset/212257181d09
- TypeScript Outside Microsoft Ecosystem
- Still limited success
- Tooling is great for VisualStudio
- Grunt plugin for TypeScript
- How to Add TypeScript to your project?
- What are Definition Files?
- Definition files available for popular libraries like jQuery & node.js
- DefinitelyType is a project to collect all popular high-quality definition files.
- https://github.com/borisyankov/DefinitelyTyped
أو شاهد الحلقة على يوتيوب
ليست هناك تعليقات:
إرسال تعليق