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
260
26新卒_総合職採用_会社説明資料
livesense
PRO
0
4.6k
株式会社リブセンス会社紹介資料 / Invent the next common.
livesense
PRO
1
13k
26新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
1
8.1k
中途セールス職_会社説明資料
livesense
PRO
0
200
EM候補者向け転職会議説明資料
livesense
PRO
0
87
コロナで失われたノベルティ作成ノウハウを復活させた話
livesense
PRO
0
210
転職会議でGPT-3を活用した企業口コミ要約機能をリリースした話
livesense
PRO
0
1.3k
Featured
See All Featured
Producing Creativity
orderedlist
PRO
344
40k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
How to Ace a Technical Interview
jacobian
276
23k
Rails Girls Zürich Keynote
gr2m
94
13k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Testing 201, or: Great Expectations
jmmastey
42
7.2k
Scaling GitHub
holman
459
140k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.3k
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