Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
qprofyeh
on Dec 14, 2024
|
parent
|
context
|
favorite
| on:
The case against static typing in PHP (2023)
Is this still a discussion in 2023? I remember writing phpdoc @type hints in 2013, as that was the de facto way to have intelligent autocompletion in editors back then.
JonoBB
on Dec 14, 2024
|
next
[–]
@type phpdocs are no longer required in almost all cases.
sshine
on Dec 14, 2024
|
prev
[–]
Since PHP’s types are monkey-patched on top, the type hints are indeed quite necessary for proper IDE hints, especially when it comes to arrays.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: