Skip to content

Comment on PHP is the new JavaScript?

Comments

What ever happened to Hack (https://hacklang.org) the language Meta built as a superset of PHP?

Why not take an approach more similar to TypeScript?

I sometimes do wonder if many of the server side rendering approaches (or alternative Node runtimes) would be better off trying to emulate some aspects of PHP

What would you want from typescript?

Static typing

With strict typing enabled and tools like PHPStan I don't really see the point.

Typescript compiles to a dynamic language anyway.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.