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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Livesense Inc.
May 16, 2014
0
1.6k
Introduction to Hack
2014/5/9 Livesense SICP倶楽部LT大会にて
Hackの紹介
Livesense Inc.
May 16, 2014
Tweet
Share
More Decks by Livesense Inc.
See All by Livesense Inc.
27新卒_総合職採用_会社説明資料
livesense
0
3.2k
27新卒_Webエンジニア職採用_会社説明資料
livesense
0
7.3k
株式会社リブセンス・転職会議 採用候補者様向け資料
livesense
0
250
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
1
1.7k
データ基盤の負債解消のためのリプレイス
livesense
0
560
26新卒_総合職採用_会社説明資料
livesense
0
13k
株式会社リブセンス会社紹介資料 / Invent the next common.
livesense
2
55k
26新卒_Webエンジニア職採用_会社説明資料
livesense
1
13k
中途セールス職_会社説明資料
livesense
0
300
Featured
See All Featured
Joys of Absence: A Defence of Solitary Play
codingconduct
1
300
The browser strikes back
jonoalderson
0
780
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
410
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
440
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Speed Design
sergeychernyshev
33
1.6k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
140
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.8k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Six Lessons from altMBA
skipperchong
29
4.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
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