Skip to content

Comment on PHP is the new JavaScript?

Comments

PHP 8.x == TypeScript

Phpstan == TypeScript

A terrible typescript

I would say an actively harmful TypeScript. Just a couple of days ago, I had bug in production because apparently the union of two types is not the intersection but the sum. It exploded because one type had a method that the other didn't. That's an absolutely horrible footgun

AboutSource Built by g1lg1l

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