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
Introduction to Hack
Search
Livesense Inc.
PRO
May 16, 2014
0
1.5k
Introduction to Hack
2014/5/9 Livesense SICP倶楽部LT大会にて
Hackの紹介
Livesense Inc.
PRO
May 16, 2014
Tweet
Share
More Decks by Livesense Inc.
See All by Livesense Inc.
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
PRO
0
1k
データ基盤の負債解消のためのリプレイス
livesense
PRO
0
250
26新卒_総合職採用_会社説明資料
livesense
PRO
0
4.4k
株式会社リブセンス会社紹介資料 / Invent the next common.
livesense
PRO
1
13k
26新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
1
7.9k
中途セールス職_会社説明資料
livesense
PRO
0
190
EM候補者向け転職会議説明資料
livesense
PRO
0
85
コロナで失われたノベルティ作成ノウハウを復活させた話
livesense
PRO
0
200
転職会議でGPT-3を活用した企業口コミ要約機能をリリースした話
livesense
PRO
0
1.3k
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Adopting Sorbet at Scale
ufuk
74
9.2k
Writing Fast Ruby
sferik
628
61k
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Large-scale JavaScript Application Architecture
addyosmani
511
110k
Visualization
eitanlees
146
15k
Practical Orchestrator
shlominoach
186
10k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
The Invisible Side of Design
smashingmag
299
50k
What's in a price? How to price your products and services
michaelherold
244
12k
Transcript
Daisuke Katsura @ Livesense Inc.
The goal of Hack to offer developers a way to
write cleaner, safer and refactorable code while trying to maintain a level of compatibility with current PHP codebases.
None
• • • NULL • • • • immutable •
Awaitable • Continuations yield • • Override • XHP ( XML ) • • • Hack
None
• • • NULL • • • • immutable •
Awaitable • Continuations yield • • Override • XHP ( XML ) • • • Hack
None
• • NULL • • Shape • • Awaitable •
Continuations yield
http://docs.hhvm.com/manual/en/hack.generics.php
http://docs.hhvm.com/manual/en/hack.nullable.php
http://docs.hhvm.com/manual/en/hack.collections.php
http://docs.hhvm.com/manual/en/hack.shapes.php
$x ==> $x + 5;
$x ==> $x + 5; !?
http://docs.hhvm.com/manual/en/hack.lambda.operator.php
http://docs.hhvm.com/manual/en/hack.async.php
http://docs.hhvm.com/manual/en/hack.continuations.php
None
None