[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: zsh style associative array assignment bug
From: |
Oğuz |
Subject: |
Re: zsh style associative array assignment bug |
Date: |
Mon, 5 Apr 2021 18:05:10 +0300 |
5 Nisan 2021 Pazartesi tarihinde Jesse Hathaway <jesse@mbuki-mvuki.org>
yazdı:
> This equivalence, though it is reasonable, creates a special case for the
> last
> value in an array which imposes a greater cognitive burden on the
> programmer.
> The programmer needs to be aware that omitting the last value will create
> an
> empty value rather than emitting an error.
>
Averting the possible effects of programmer's incompetence shouldn't really
be the programming language's responsibility.
--
Oğuz