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
270
festudy02-wasm
chikoski
1
940
An overview of WebAssembly; how it is used, created, and applied?
chikoski
1
650
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
510
Design and Implementation of Tech Talks
chikoski
0
110
Other Decks in Technology
See All in Technology
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
300k
[CV勉強会@関東 ECCV2024 読み会] オンラインマッピング x トラッキング MapTracker: Tracking with Strided Memory Fusion for Consistent Vector HD Mapping (Chen+, ECCV24)
abemii
0
220
DMARC 対応の話 - MIXI CTO オフィスアワー #04
bbqallstars
1
160
Application Development WG Intro at AppDeveloperCon
salaboy
0
180
Terraform CI/CD パイプラインにおける AWS CodeCommit の代替手段
hiyanger
1
240
【令和最新版】AWS Direct Connectと愉快なGWたちのおさらい
minorun365
PRO
5
750
スクラム成熟度セルフチェックツールを作って得た学びとその活用法
coincheck_recruit
1
140
OCI Network Firewall 概要
oracle4engineer
PRO
0
4.1k
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
Amplify Gen2 Deep Dive / バックエンドの型をいかにしてフロントエンドへ伝えるか #TSKaigi #TSKaigiKansai #AWSAmplifyJP
tacck
PRO
0
370
透過型SMTPプロキシによる送信メールの可観測性向上: Update Edition / Improved observability of outgoing emails with transparent smtp proxy: Update edition
linyows
2
210
TanStack Routerに移行するのかい しないのかい、どっちなんだい! / Are you going to migrate to TanStack Router or not? Which one is it?
kaminashi
0
580
Featured
See All Featured
How GitHub (no longer) Works
holman
310
140k
Gamification - CAS2011
davidbonilla
80
5k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
What's in a price? How to price your products and services
michaelherold
243
12k
4 Signs Your Business is Dying
shpigford
180
21k
BBQ
matthewcrist
85
9.3k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
The Cult of Friendly URLs
andyhume
78
6k
Docker and Python
trallard
40
3.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Teambox: Starting and Learning
jrom
133
8.8k
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