Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
p r o d u c e d b y
intro to
M o b i l e d e v c a m p @ a n c o n a 2 0 1 5 0 6 3 0
d i r e c t e d b y
a n d r e a
b a l d u c c i
@andreabalducci
s t a r r i n g
episode 1
a long time ago
in a galaxy
far, far away
…written in
10 days for
the
mythical…
NON PROFESSIONAL PROGRAMMER
NON PROFESSIONAL PROGRAMMER
nowadays
welcome to the
{undefined} side
==
NaN NaN
equality chart
episode 2
TypeScript is a typed superset
of JavaScript that compiles to
plain JavaScript
Types enable TypeScript
developers to use highly-
productive development
tools and practices
static checking,
symbol-based navigation,
statement completion, and
code refactoring.
https://github.com/borisyankov/DefinitelyTyped
de mo
http://tinyurl.com/ts-mobcamp
class Jedi {
name: string;
constructor(name: string) {
this.name = name;
}
useTheForce() { }
}
class SuperHero {
name: string;
constructor(name: string) {
this.name = name;
}
useTheForce() { }
jump() {}
}
var hulk = new SuperHero('Hulk');
var yoda = new Jedi('Yoda');
yoda = hulk
TypeScript is a
structural
type system
episode 3
decorators
http://blog.wolksoftware.com/decorators-reflection-javascript-typescript
de co rato r s are a pro p ose d
standa...
decorators
http://blog.wolksoftware.com/decorators-reflection-javascript-typescript
Class
property
method
parameter
TypeScript intro / mobile dev camp
TypeScript intro / mobile dev camp
TypeScript intro / mobile dev camp
TypeScript intro / mobile dev camp
TypeScript intro / mobile dev camp
TypeScript intro / mobile dev camp
TypeScript intro / mobile dev camp
TypeScript intro / mobile dev camp
TypeScript intro / mobile dev camp
TypeScript intro / mobile dev camp
TypeScript intro / mobile dev camp
TypeScript intro / mobile dev camp
TypeScript intro / mobile dev camp
Upcoming SlideShare
Loading in …5
×

TypeScript intro / mobile dev camp

563 views

Published on

TypeScript intro @ Windows 10 Mobile Camp

Published in: Software

TypeScript intro / mobile dev camp

  1. 1. p r o d u c e d b y intro to M o b i l e d e v c a m p @ a n c o n a 2 0 1 5 0 6 3 0
  2. 2. d i r e c t e d b y
  3. 3. a n d r e a b a l d u c c i @andreabalducci
  4. 4. s t a r r i n g
  5. 5. episode 1
  6. 6. a long time ago in a galaxy far, far away
  7. 7. …written in 10 days for the mythical…
  8. 8. NON PROFESSIONAL PROGRAMMER NON PROFESSIONAL PROGRAMMER
  9. 9. nowadays
  10. 10. welcome to the {undefined} side == NaN NaN
  11. 11. equality chart
  12. 12. episode 2
  13. 13. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript
  14. 14. Types enable TypeScript developers to use highly- productive development tools and practices
  15. 15. static checking, symbol-based navigation, statement completion, and code refactoring.
  16. 16. https://github.com/borisyankov/DefinitelyTyped
  17. 17. de mo http://tinyurl.com/ts-mobcamp
  18. 18. class Jedi { name: string; constructor(name: string) { this.name = name; } useTheForce() { } }
  19. 19. class SuperHero { name: string; constructor(name: string) { this.name = name; } useTheForce() { } jump() {} }
  20. 20. var hulk = new SuperHero('Hulk'); var yoda = new Jedi('Yoda');
  21. 21. yoda = hulk
  22. 22. TypeScript is a structural type system
  23. 23. episode 3
  24. 24. decorators http://blog.wolksoftware.com/decorators-reflection-javascript-typescript de co rato r s are a pro p ose d standard for ECMAScript 7, to annotate and modify classes and properties at design time.
  25. 25. decorators http://blog.wolksoftware.com/decorators-reflection-javascript-typescript Class property method parameter

×