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
1.6k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Introduction to Hack
2014/5/9 Livesense SICP倶楽部LT大会にて
Hackの紹介
Livesense Inc.
PRO
May 16, 2014
More Decks by Livesense Inc.
See All by Livesense Inc.
Rubyはただの⾔語に⾮ず
livesense
PRO
0
390
28新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
100
27新卒_総合職採用_会社説明資料
livesense
PRO
0
5.7k
27新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
10k
株式会社リブセンス・転職会議 採用候補者様向け資料
livesense
PRO
0
500
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
PRO
1
1.7k
データ基盤の負債解消のためのリプレイス
livesense
PRO
0
640
26新卒_総合職採用_会社説明資料
livesense
PRO
0
13k
株式会社リブセンス会社紹介資料 / Invent the next common.
livesense
PRO
2
68k
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
950
Why Our Code Smells
bkeepers
PRO
340
58k
Everyday Curiosity
cassininazir
0
230
Designing for humans not robots
tammielis
254
26k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.5k
The Curious Case for Waylosing
cassininazir
1
390
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
200
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
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