Sujet : Re: on Perl (was: Command Languages Versus Programming Languages)
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 14. Apr 2024, 23:41:27
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <uvhm2m$3s6na$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Pan/0.155 (Kherson; fc5a80b8)
On Sun, 14 Apr 2024 20:41:28 +0000, Javier wrote:
I find perl much more quirky. Among many other things, it lacks an
straightforward support of nested data structures (you neeed to use
something called references), as it flattens nested arrays
automatically. That was an erroneous early design decission.
Is *that* where PHP got that stupid idea from? Only its attempt to patch
them up with “references” just created a new mess.
That being said, no other language comes close in conciseness when
it comes to text processing and interacting with the OS (filesystem,
pipes, etc). Any other language is too verbose for those tasks.
Other languages can offer more expressive facilities, though. This can
make the code easier to follow.