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.6k
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.
27新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
2.5k
株式会社リブセンス・転職会議 採用候補者様向け資料
livesense
PRO
0
53
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
PRO
0
1.5k
データ基盤の負債解消のためのリプレイス
livesense
PRO
0
440
26新卒_総合職採用_会社説明資料
livesense
PRO
0
11k
株式会社リブセンス会社紹介資料 / Invent the next common.
livesense
PRO
1
38k
26新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
1
13k
中途セールス職_会社説明資料
livesense
PRO
0
270
EM候補者向け転職会議説明資料
livesense
PRO
0
130
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
The Pragmatic Product Professional
lauravandoore
36
6.9k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
530
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Code Review Best Practice
trishagee
71
19k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
Done Done
chrislema
185
16k
The Language of Interfaces
destraynor
161
25k
Visualization
eitanlees
148
16k
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