Slide 1

Slide 1 text

Daisuke Katsura @ Livesense Inc.

Slide 2

Slide 2 text

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.

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

• • • NULL • • • • immutable • Awaitable • Continuations yield • • Override • XHP ( XML ) • • • Hack

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

• • • NULL • • • • immutable • Awaitable • Continuations yield • • Override • XHP ( XML ) • • • Hack

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

• • NULL • • Shape • • Awaitable • Continuations yield

Slide 9

Slide 9 text

http://docs.hhvm.com/manual/en/hack.generics.php

Slide 10

Slide 10 text

http://docs.hhvm.com/manual/en/hack.nullable.php

Slide 11

Slide 11 text

http://docs.hhvm.com/manual/en/hack.collections.php

Slide 12

Slide 12 text

http://docs.hhvm.com/manual/en/hack.shapes.php

Slide 13

Slide 13 text

$x ==> $x + 5;

Slide 14

Slide 14 text

$x ==> $x + 5; !?

Slide 15

Slide 15 text

http://docs.hhvm.com/manual/en/hack.lambda.operator.php

Slide 16

Slide 16 text

http://docs.hhvm.com/manual/en/hack.async.php

Slide 17

Slide 17 text

http://docs.hhvm.com/manual/en/hack.continuations.php

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content