From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-workers@zsh.org
Subject: Re: Could someone clarify how math functions work?
Date: Sat, 20 Dec 2014 12:35:48 -0800 [thread overview]
Message-ID: <5495DDA4.4000604@eastlink.ca> (raw)
In-Reply-To: <141220113708.ZM31285@torch.brasslantern.com>
On 12/20/2014 11:37 AM, Bart Schaefer wrote:
> [> workers]
>
> On Dec 19, 9:35am, Peter Stephenson wrote:
> }
> } I'm wondering, however, if we can do a bit better by strengthening the
> } warnings against variant syntax --- whose sole role appears to be to
> } confuse the user --- and provide some kind of good practice guide for
> } complex syntax such as functions, loops, etc. But would anyone read it?
I would. OTOH why is variant syntax there at all? What does it
accomplish *but* the confusion of the user? The culture seems to be one
in which it is considered good that one can do things in 50 different
ways. I understand that in Python culture they make a virtue out of
saying that there is only ever *one* way to do whatever it is that you
are doing, which means that reading Python must be a breeze because one
does not have to learn 50 dialects of the language. That's probably
going too far IMHO, tho.
Speaking as the newcomer here, the agony of learning zsh is that it is
so encrusted with these ancient confusions and obscure gotchas and
exceptions and variations and deep mysteries going back to the Chaos
before the World was created. Supposing that the goal was to rid the
shell of pointless obscurities rather than adding another layer of
safety nets to help one cope with them?
Kill variant syntax! Less is more. What's that saying: "The code is
perfect, not when there is nothing more to add, but when there is
nothing more to take away." Simplicity and clarity matter. Burn, burn,
burn.
rant rant rant ;-)
next prev parent reply other threads:[~2014-12-20 20:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <54939F50.50102@gmx.com>
[not found] ` <20141219093551.5a89e4d9@pwslap01u.europe.root.pri>
2014-12-20 19:37 ` Bart Schaefer
2014-12-20 20:35 ` Ray Andrews [this message]
2014-12-20 22:09 ` Variant syntax (Re: Could someone clarify how math functions work?) Bart Schaefer
2014-12-20 22:56 ` Ray Andrews
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5495DDA4.4000604@eastlink.ca \
--to=rayandrews@eastlink.ca \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).