Comment

Comment by cletus

None of these are top of my list. Mine is a better PHP.

To be clear, I like PHP. It actually has many attributes that make it almost ideal as a Web development language, most notably:

1. Pretty much everything is request-scoped. This makes it a lot harder to leak resources when everything is torn down;

2. A stateless functional core. This avoids a lot of class loading that has dogged Java (as one example);

3. No ability to start threads. This is actually a positive. Most application code should avoid creating threads like the plague.

But PHP comes with a lot historical cruft. It's type system is also primitive (Hack is a better example of this).

Where I think this could really shine is in data analysis (ie the numpy/scipy realm).

parent cletus 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton