News for hackers. Stuff that matters.
Re: by tambourine_man on Tuesday November 15, 2022 @08:08PM (#33617566)
Yes I’m well aware of the problems. I just seems to me that being PHP-like but incompatible is much more confusing than useful.
Re: by Shish2k on Tuesday November 15, 2022 @10:14PM (#33618357)
“PHP-like but incompatible” isn’t in itself a useful feature — it is the thing which unlocks a bunch of useful features (a sensible standard library, sensible list/dict datatypes, typed collections, XHP, async functions, generics)
Re: by tambourine_man on Wednesday November 16, 2022 @09:54AM (#33623971)
I get that. A superset could be interesting. Downright incompatible seems to tip the balance the wrong way.
Re: by LoganDark on Thursday November 17, 2022 @08:43AM (#33638729)
PHP is a fractal of bad design[0] and creating a superset will not enable you to create a better language.

[0]: https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/