Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
20171002-wejs
Search
chikoski
October 02, 2017
Technology
1
530
20171002-wejs
Partial application in JavaScript. An application to factory method .
chikoski
October 02, 2017
Tweet
Share
More Decks by chikoski
See All by chikoski
20210825_ossx
chikoski
0
280
festudy02-wasm
chikoski
1
950
An overview of WebAssembly; how it is used, created, and applied?
chikoski
1
660
Functions in JavaScript
chikoski
1
1.1k
20171018-WASM
chikoski
2
1.3k
20170924-html5conference-wasm
chikoski
5
10k
Equivalence_in_JS
chikoski
0
1.3k
いまさら振り返るPromise
chikoski
1
520
Design and Implementation of Tech Talks
chikoski
0
110
Other Decks in Technology
See All in Technology
MLOps の現場から
asei
6
630
LINEヤフーのフロントエンド組織・体制の紹介【24年12月】
lycorp_recruit_jp
0
530
サービスでLLMを採用したばっかりに振り回され続けたこの一年のあれやこれや
segavvy
2
390
Oracle Cloud Infrastructure:2024年12月度サービス・アップデート
oracle4engineer
PRO
0
170
re:Invent をおうちで楽しんでみた ~CloudWatch のオブザーバビリティ機能がスゴい!/ Enjoyed AWS re:Invent from Home and CloudWatch Observability Feature is Amazing!
yuj1osm
0
120
宇宙ベンチャーにおける最近の情シス取り組みについて
axelmizu
0
110
NW-JAWS #14 re:Invent 2024(予選落ち含)で 発表された推しアップデートについて
nagisa53
0
250
Oracle Cloudの生成AIサービスって実際どこまで使えるの? エンジニア目線で試してみた
minorun365
PRO
4
280
フロントエンド設計にモブ設計を導入してみた / 20241212_cloudsign_TechFrontMeetup
bengo4com
0
1.9k
第3回Snowflake女子会_LT登壇資料(合成データ)_Taro_CCCMK
tarotaro0129
0
180
PHP ユーザのための OpenTelemetry 入門 / phpcon2024-opentelemetry
shin1x1
1
160
How to be an AWS Community Builder | 君もAWS Community Builderになろう!〜2024 冬 CB募集直前対策編?!〜
coosuke
PRO
2
2.8k
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
Making Projects Easy
brettharned
116
5.9k
Agile that works and the tools we love
rasmusluckow
328
21k
Six Lessons from altMBA
skipperchong
27
3.5k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
We Have a Design System, Now What?
morganepeng
51
7.3k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
66k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Facilitating Awesome Meetings
lara
50
6.1k
Transcript
関数の話 @chikoski
ؔɿखଓ͖ͷྻʹ໊લΛ͚ͭͨͷ GVODUJPOQPXFS B \ GPS MFUJJBB \ BB B ^
SFUVSOB ^
function宣言と アロー関数式 GVODUJPOJE WBMVF \ SFUVSOWBMVF ^ DPOTUJE WBMVF \
SFUVSOWBMVF ^ DPOTUJEWBMVFWBMVF
関数はオブジェクト GVODUJPODSFBUF*E \ SFUVSOGVODUJPO WBMVF \ SFUVSOWBMVF ^ ^ DPOTUDSFBUF*E
WBMVFWBMVF
クロージャ GVODUJPOBEE4PNF WBMVF \ SFUVSOGVODUJPO B \ SFUVSOB WBMVF ^
^ DPOTUBEE4PNF WBMVFBB WBMVF DPOTUBEEBEE4PNF BEE
関数適用 DPOTUBEE B C B C BEE BEEӕ
Ӽ㊉⇹ BEE BEEӕ Ӽ㊉⇹ BEE BEE BEE BEEӕ Ӓ Ӽ㊉⇹ӁѬ ᒉӳӶӉ ӼBEEӼ㊉⇹
部分適用 DPOTUBEE B C B C DPOTUBEE4PNFBCBEE B C
DPOTUBEEBEE4PNF BEE C ӒҮҰ㕉ᡔҶӑҷӵ ᐠᡔӘक㋚ӕ㕉ᡔҶ㊉⇹ҿӶӐҮӵӒӬӶӵ BEE
部分適用の利用例 DPOTUEPN UBH BUUST\^ \ DPOTUFM EPDVNFOUDSFBUF&MFNFOU UBH GPS
DPOTULFZJOBUUST \ FMTFU"UUSJCVUF LFZ BUUST<LFZ> ^ SFUVSOFM ^
部分適用の利用例 DPOTUEJW BUUST\^ EPN EJW BUUST DPOTUBVEJP
BUUST\^ EPN BVEJP BUUST DPOTUGJMF BUUST\^ \ BUUSTUZQFGJMF SFUVSOEPN JOQVU BUUST ^
ロジックの パラメータ化 DPOTUGJOE&WFO/VNCFSTMJTU\ DPOTUSFTVMU<> GPS DPOTUOVNPGMJTU \ JG OVN \
SFTVMUQVTI OVN ^ ^ ^ DPOTUMJTU"< > DPOTUMJTU#GJOE&WFO/VNCFST MJTU" < >
ロジックの パラメータ化 DPOTUGJOE MJTU G \ DPOTUSFTVMU<> GPS DPOTUOVNPGMJTU \
JG G OVN \ SFTVMUQVTI OVN ^ ^ ^ DPOTUMJTU"< > DPOTUMJTU#GJOE JJ < >
部分適用 DPOTUGJOE MJTU G \ DPOTUSFTVMU<> GPS DPOTUOVNPGMJTU \ JG
G OVN \ SFTVMUQVTI OVN ^ ^ ^ DPOTU'JOEFSGMJTUGJOE G MJTU DPOTUG'JOEFS JJ GJOE MJTU JJ
画面に描かれるキャラ DMBTT&OFNZ\ DPOTUSVDUPS QPTJUJPO DPMMJEFS SFOEFSFS \ UIJTQPTJUJPOQPTJUJPO
UIJTDPMMJEFSDPMMJEFS UIJTSFOEFSFSSFOEFSFS ^ ^
Renderer & Collider DPOTUSFOEFSFS'BDUPSZ J DY Q DYESBX*NBHF QY QZ
J DPOTUDJSDMF$PMMJEFS S Q Q EJTU Q Q S DPOTUSSFOEFSFS'BDUPSZ JNH DPOTUDDJSDMF$PMMJEFS DPOTUJOTUBODF'BDUPSZ LMBTTQOFXLMBTT Q S D DPOTUFOFNZ'BDUPSZJOTUBODF'BDUPSZ &OFNZ DPOTUFFOFNZ'BDUPSZ OFX1PTJUJPO