Jsx language-notes

902 views
848 views

Published on

Used in Tsukuba.pm#2 (2012/7/7)

Published in: Technology, Business
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
902
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Jsx language-notes

    1. 1. JSX language notes gfx <gfuji@cpan.org> Tsukuba.pm #2 Tanabata Hacks 2012/7/7 #tsukubapm
    2. 2. MyselfName: Fuji Goro (gfx)Working at: DeNA, Co., Ltd.Job: software engineerInterested in: software development
    3. 3. WhatJSX is a faster, safer, easier alternativeto JavaScript
    4. 4. Why T be used in middle- to large-scaled osoftware development
    5. 5. HowBased on ECMA-262 StandardStatic typesClass model
    6. 6. Status (2012/7/7) Basic syntax are fixed Advanced feature like templates are not Supported in jsdo.it TODO: jsxdoc, more code completion, template functions, loading JS modules
    7. 7. DemoExampleProfilerDebuggerCompletion
    8. 8. Nullability Primitive types are NOT nullable Object types are nullable Nullable.<PrimitiveType> are nullable
    9. 9. Variant Type Directly mapped to JavaScript value Have to cast it to another type to use
    10. 10. Parameterized Types a.k.a templates For generic programming
    11. 11. Lambdafunction (a : int) : int { return a + 1; }(a : int) -> int { return a + 1; }(a) -> a + 1
    12. 12. Development Toolsnodejs for compilersprove(1) for testingidl2jsx.pl to convert WebIDL to JSX

    ×