|
| From: | Oğuz |
| Subject: | Re: feature suggestion: ability to expand a set of elements of an array or characters of a scalar, given their indices |
| Date: | Fri, 28 Jun 2024 09:31:55 +0300 |
On Friday, June 28, 2024, Martin D Kealey <martin@kurahaupo.gen.nz> wrote: > modern Perl scripts > No such thing. Perl is a dead language, and for good reason. Why limit this to subscripts? > Where else do you need it? > Why not use that for generating lists directly? > Doesn't brace expansion already do that? Why limit this to numeric indexing? > Because you can implement it without breaking old scripts, `a; b' is a valid associative array key. > Why not support associative arrays? > No way to do that without making array expansion syntax ten times uglier or completely changing it. Bash is too good to ruin like that. -- Oğuz
| [Prev in Thread] | Current Thread | [Next in Thread] |