Article View: comp.os.vms
Article #110Re: PHP "Features"
From: Dan Cross
Date: Tue, 27 Oct 2026 22:48
Date: Tue, 27 Oct 2026 22:48
44 lines
2431 bytes
2431 bytes
In article <11bqv7e$1pp8h$4@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote: >On 2026-10-24, Lawrence DÿOliveiro <ldo@nz.invalid> wrote: >> On Sat, 24 Oct 2026 20:45:24 -0400, Arne Vajhøj wrote: >> >>>> https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/ >>> >>> I am not sure whether to laugh or cry. >> >> Discussing the PHP bug on another forum, another commenter offered >> this little gem: >> >> $a = INF; >> $b = []; >> $c = (object)[]; >> >> var_dump($a < $b); // true, as INF is less than an array >> var_dump($b < $c); // true, as an array is less than an object >> var_dump($c < $a); // true, as an object is less than INF >> >> Is there such a thing as a ?rock-paper-scissors? sorting algorithm? >> Seems like PHP has it ... > >Now do Javascript... > >Simon. > >PS: IOW, why are the most popular web languages (both client and server-side) >so bloody insanely bad ? :-( I know it's controversial to say, but I think it's because the web was based on fundamentally bad technology, but some of it is really interesting, and almost all of it is incredibly useful. Javascript is a great example; it's not a good language, but as Crocker pointed out in his book, some _aspects_ of it are very cool; it can certainly be used _well_. And for years, it was the only real game in town for running things in the browser, so what is one to do? Typescript is the obvious answer. :-) - Dan C.
Technical Details
Message-ID:
<11br9og$s1t$1@reader2.panix.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!panix!.POSTED.spitfire.i.gajendra.net!not-for-mailReferences:
<11bcbi1$k068$1@dont-email.me> <11bjjen$36tte$1@dont-email.me> <11bjmaa$37lkk$2@dont-email.me> <11bqv7e$1pp8h$4@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail From: cross@spitfire.i.gajendra.net (Dan Cross) Newsgroups: comp.os.vms Subject: Re: PHP "Features" Date: Tue, 27 Oct 2026 22:48:48 -0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: <11br9og$s1t$1@reader2.panix.com> References: <11bcbi1$k068$1@dont-email.me> <11bjjen$36tte$1@dont-email.me> <11bjmaa$37lkk$2@dont-email.me> <11bqv7e$1pp8h$4@dont-email.me> Injection-Date: Tue, 27 Oct 2026 22:48:48 -0000 (UTC) Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80"; logging-data="28733"; mail-complaints-to="abuse@panix.com" X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: cross@spitfire.i.gajendra.net (Dan Cross)