Главная
Study mode:
on
1
Introduction
2
History
3
Language Server Protocol
4
Type Errors
5
Generics
6
Static type checking
7
Inference
8
Multiple types
9
Arrays
10
Shapes
11
Examples
12
Type refinement
13
PHP standard library
14
Hack Standard Library
15
Hack Standard Pipeline
16
Regular Expressions
17
XHP
18
Journey
19
Fixing bugs
20
Automated tooling
21
Hack
22
Entry Point
23
Getting Types
24
Database
25
Async await
26
Inference return type
27
Untyped functions
28
Fixing errors
29
Coverage
30
Strict
31
Eliminate vendor code
32
Upgrade to latest version
33
Lessons learned
34
Test pyramid
35
Unit tests
36
Should you switch
37
Hack best features
Description:
Explore the journey of migrating Slack's multi-million line PHP codebase to Facebook's Hack programming language in this keynote address from the International PHP Conference 2019. Delve into the surprising, challenging, and beneficial aspects of the migration process, examining the pros and cons of Hack and identifying areas where the PHP community can draw inspiration. Learn about key topics such as the Language Server Protocol, type errors, generics, static type checking, inference, and the Hack Standard Library. Discover practical insights on fixing bugs, automated tooling, database interactions, and async/await functionality. Gain valuable lessons on test pyramids, unit tests, and best practices for considering a switch to Hack. Understand the intricacies of this incrementally typed adventure and its implications for large-scale PHP projects.

PHP to Hack - An Incrementally Typed Adventure at Slack

International PHP Conference
Add to list