Overview
Syllabus
Intro
Type Annotations at Run Time
PHP Closure Expressions
Hack Lambda Expressions
Benefits of Lambda Expressions
More Examples
Hack Collections
map/filter example
Design
array_merge() example
Downsides of one-size-fits-all
Static Typing
PHP arrays have value-type semantics
Immutable Collections
Code example: Sync = Async
Awaitable
Parallel async/await
Mid-execution
Entering async
Goodies!: Constructor Promotion
Goodies!: Trailing Commas
Detecting Errors in Traits
Trait requirements: solution
Goodies!: Trait Interfaces
Future Directions
Taught by
Meta Developers