• Like
Jsx language-notes
Upcoming SlideShare
Loading in...5
×

Jsx language-notes

  • 661 views
Uploaded on

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

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

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
661
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
2
Comments
0
Likes
2

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Transcript

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