Slide 1

Slide 1 text

"OOPUBUJPOʜ 
 %FDPSBUPSʜ OHͷ"OOPUBUJPOʹ͍ͭͯ !BNBHJUBLBZPTJ

Slide 2

Slide 2 text

@amagitakayosi

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

OH ೖ໳

Slide 6

Slide 6 text

)5.-ॻ͍ͯ

Slide 7

Slide 7 text

+4ॻ͍ͯ

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

ΊͰͨ͠ ΊͰͨ͠

Slide 10

Slide 10 text

ৄ͘͠͸ޙͰʂ ৄ͘͠͸ޙͰʂ

Slide 11

Slide 11 text

ΊͰͨ͠ ΊͰͨ͠

Slide 12

Slide 12 text

͍΍͍΍

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

OHYYY ϝιουνΣΠϯ

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

ΦϨΦϨ$MBTT

Slide 17

Slide 17 text

΋ͬͱϞμϯʹ ॻ͖͍ͨʂ

Slide 18

Slide 18 text

OH ࠶ೖ໳

Slide 19

Slide 19 text

)5.-ॻ͍ͯ

Slide 20

Slide 20 text

+4όϕͬͯ +4όϕͬͯ +4όϕͬͯ +4όϕͬͯ +4όϕͬͯ

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

&4$MBTTʂ

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

ΊͰͨ͠ ΊͰͨ͠

Slide 25

Slide 25 text

͍΍͍΍ ͪΐͬͱ଴ͬͯ

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

!$PNQPOFOU ͱ͸ʜʜʁ

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

%FDPSBUPS

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

Decorator w &$."4DSJQU1SPQPTBMͷҰͭ
 TUBHF w ؔ਺΍ΫϥεΛम০Ͱ͖Δ w 1ZUIPOͷEFDPSBUPSͱେମಉ͡

Slide 34

Slide 34 text

࢖༻ྫ w NJYJO %* ϝϞԽ ʜʜ w KBZQIFMQTDPSFEFDPSBUPS w DIBUXPSLXSBTTF

Slide 35

Slide 35 text

https://speakerdeck.com/armorik83/es7-decorators ࢀߟBSNPSJL͞Μͷղઆ

Slide 36

Slide 36 text

࣮૷ঢ়گ w CBCFM
 CBCFMQMVHJOTZOUBYEFDPSBUPST w 5ZQF4DSJQU
 Wd

Slide 37

Slide 37 text

CBCFMͰ !$PNQPOFOU ࢖͑Δʂ

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

Μʜʜʁ

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

SFqFDUNFUBEBUB ແ͠Ͱ !$PNQPOFOU࢖͏ͱ Τϥʔग़Δʂʂʂʂʂ 5ZQF4DSJQUͷ৔߹͸FNJU%FDPSBUPS.FUBEBUBΦϓγϣϯ͕ඞཁ

Slide 43

Slide 43 text

reflect-metadata w NFUBEBUBΛѻ͏ͨΊͷQPMZpMM w &43FqFDUʹϝιου௥Ճ w 3FqFDUHFU.FUB%BUB ͱ͔

Slide 44

Slide 44 text

3FqFDU .FUBEBUB

Slide 45

Slide 45 text

ES6 Reflect w ϝλϓϩ༻ศརϝιουू w 1SPYZͱ͍ͬ͠ΐʹ࢖ͬͨΓ w AOFXAΛॻ͔ͣʹ
 Πϯελϯεੜ੒ͨ͠Γ

Slide 46

Slide 46 text

http://www.2ality.com/2014/12/es6-proxies.html ࢀߟ
 .FUBQSPHSBNNJOHXJUI &$."4DSJQUQSPYJFT

Slide 47

Slide 47 text

NFUBEBUBͬͯ Կʜʜ

Slide 48

Slide 48 text

Θ͔Βͳ͍ͷͰ ΤϥʔՕॴ ݟͯΈΔ

Slide 49

Slide 49 text

NPEVMFTBOHVMBSTSDDPSFVUJM EFDPSBUPSTUTͰΤϥʔग़ͯΔ

Slide 50

Slide 50 text

͙͢ԼͷNBLF%FDPSBUPSͰ 3FqFDU৮ͬͯΔ

Slide 51

Slide 51 text

͙͢ԼͷNBLF%FDPSBUPSͰ 3FqFDU৮ͬͯΔ

Slide 52

Slide 52 text

No content

Slide 53

Slide 53 text

No content

Slide 54

Slide 54 text

"OOPUBUJPO

Slide 55

Slide 55 text

Annotation w 5SBDFVS"U4DSJQUͰ࠾༻͞Εͨ
 ಛघه๏ͷҰͭ w ؔ਺΍ΫϥεΛؾ߹Ͱम০͢Δ w 1ZUIPOͷEFDPSBUPSͱશવҧ͏

Slide 56

Slide 56 text

No content

Slide 57

Slide 57 text

ର৅ΦϒδΣΫτʹ BOOPUBUJPO഑ྻΛ ڧҾʹੜ΍͠ "OOPUBUJPOΛอଘ

Slide 58

Slide 58 text

AtScriptͷग़ྗJSΛݟΔͱ w "OOPUBUJPO͸ؔ਺Ͱͳ͘Ϋϥε w ର৅ͷΫϥεʹ
 BOOPUBUJPOϑΟʔϧυΛੜ΍͠
 "OOPUBUJPOͷΠϯελϯεΛอଘ

Slide 59

Slide 59 text

ڧҾ

Slide 60

Slide 60 text

"OOPUBUJPOͰ Ͱ͖Δ͜ͱ͸ %FDPSBUPSͰ΋ Ͱ͖Δʂʂʂʂʂ

Slide 61

Slide 61 text

࣌ܥྻ w 5SBDFVSʹ"OOPUBUJPO͕௥Ճ w &4%FDPSBUPSTͷQSPQPTBM w "U4DSJQUൃද w "U4DSJQUऴྃͷ͓஌Βͤ

Slide 62

Slide 62 text

࣌୅͕มΘͬͨͷͰ ࢓ํͳͦ͞͏ ʢ◞‸◟ʣ

Slide 63

Slide 63 text

͜ΕΛ౿·͑ͯ NBLF%FDPSBUPSΛ ಡΉͱ

Slide 64

Slide 64 text

DMTBOOPUBUJPOT഑ྻͷ୅ΘΓʹ SFqFDUNFUBEBUB࢖ͬͯΔ

Slide 65

Slide 65 text

3FqFDUHFU0XO.FUBEBUB Λ ͨͲ͍ͬͯ͘ͱ 8FBL.BQΛ࢖ͬͯ ΦϒδΣΫτຖͷ.FUBEBUBΛ อଘ͍ͯ͠Δ

Slide 66

Slide 66 text

NBLF%FDPSBUPSͷ ໾ׂ͸ʜʜʁ

Slide 67

Slide 67 text

"OOPUBUJPOͷ࢓૊ΈΛ ࠶ݱ͢Δ

Slide 68

Slide 68 text

"OOPUBUJPOͷ࢓૊ΈΛ ࠶ݱ͢Δ BOOPUBUJPO$MT͔Β %FDPSBUPSΛ࡞ͬͯฦ͢

Slide 69

Slide 69 text

"OOPUBUJPO୅ΘΓͷ %FDPSBUPSΛ࡞Δ ؔ਺ͩͬͨʂ

Slide 70

Slide 70 text

!$PNQPOFOUͷ ࣮૷͸ʁ

Slide 71

Slide 71 text

NPEVMFTBOHVMBSTSDDPSF NFUBEBUBUT-- NBLF%FDPSBUPSʹ $PNQPOFOU.FUBEBUBΛ౉ͯ͠Δ

Slide 72

Slide 72 text

NPEVMFTBOHVMBSTSDDPSF NFUBEBUBEJSFDUJWFTUT-

Slide 73

Slide 73 text

͏Ή

Slide 74

Slide 74 text

·ͱΊ

Slide 75

Slide 75 text

·ͱΊ w "OOPUBUJPOͱ%FDPSBUPS͸ผ w OH͸ੲ"OOPUBUJPOΛ࢖ͬͯͨ w ݱࡏ͸SFqFDUNFUBEBUBΛ࢖͍
 %FDPSBUPSͰ"OOPUBUJPOΛ
 ࠶ݱ͍ͯ͠Δ

Slide 76

Slide 76 text

ײ૝ w OHɺֶशϦιʔεړΔΑΓ
 ຊମίʔυͷίϝϯτಡΜͩ΄͏ָ͕ w SFqFDUNFUBEBUBɺ
 8FBL.BQ࢖͑͹͍͍͚ͩͰ͸ʁ w QSPQPTBMग़͢ͷ͸੓࣏త͗͢Δ

Slide 77

Slide 77 text

ڭ܇ ϓϩδΣΫτʹ ࣌ؒΛ͔͚͗͢Δͳ

Slide 78

Slide 78 text

͋Γ͕ͱ͏͍͟͝·ͨ͠

Slide 79

Slide 79 text

ˣؔ࿈ϖʔδͷϒΫϚˣ http://b.hatena.ne.jp/amagitakayosi/ng2/