Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
slt2021
on May 5, 2020
|
parent
|
context
|
favorite
| on:
A look at modern PHP
can anybody explain what is the purpose of static typing in a dynamic language ? It's not like you get benefit of compilation like java/C#.
Why is PHP trying to become java so hard, if there is already java and .NET ?
proto-n
on May 5, 2020
[–]
You can compare static typing in php to typescript or static typing in python. It's for correctness, not performance.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Why is PHP trying to become java so hard, if there is already java and .NET ?