zsh-workers
 help / color / mirror / code / Atom feed
From: Bruce Stephens <b.stephens@isode.com>
To: Zsh Development Workers <zsh-workers@sunsite.auc.dk>
Subject: Re: Two questions
Date: 27 Jan 1999 11:28:31 +0000	[thread overview]
Message-ID: <vbd8416jkw.fsf@snake.isode.com> (raw)
In-Reply-To: Phil Pennock's message of "Wed, 27 Jan 1999 10:59:55 +0000"

Phil Pennock <comet@fysh.org> writes:

> Think ahead three years.  Scenario: bash has programmable
> completion, glob modifiers, associative arrays.  Much of the rest is
> fun, but is it enough to distinguish from the competition?  A
> sysadmin might want the extra features, but justifying them is
> another matter.  If zsh falls into me-too-ism then from a marketing
> point of view it's killing itself.  Every time that we say, "Yes,
> you could do that, but we changed it for compatibility with ksh, so
> now you have to use this workaround" we're detracting from zsh.

A shell which is a better ksh than pdksh would be worth having.  I
agree, zsh is beyond that stage, but even so.  

If bash has all the features that I currently use in zsh (mostly
completion and globbing), then I'll be happy to use bash.

> [...] I'm just worried that zsh is heading down a deadend road.  How
> important _will_ ksh compatibility be three, five, years from now?
> Isn't it more important to make zsh better and do it _right_, with
> as little unnecessary confusion as possible, rather than just "it
> does that too, and is just as bad"?

Compatibility with other shells is a significant convenience.  It
means that in many places, people can choose to use zsh, and still
source initialisation scripts written for lesser shells.  It means
that examples in ksh cookbooks are likely to teach me something about
zsh.

Some incompatibility is OK, though.  The SH_WORD_SPLIT thing springs
to mind.  zsh does this the Right Way, and is deliberately
incompatible in this minor way.

> -a vs -A vs -H vs whatever is just a case in point.  There needs to
> be a clear unambiguous meaning for each, instead of "'-A' means
> associative here, but the option was already taken there, so use
> '-H' instead".

Associative arrays are new to zsh.  I suspect use of them will either
be extensive (if they get used elsewhere, in completion, say) or
pretty minor.  In the former case, the syntax will presumably evolve
to something that's convenient.

> I'm not a key developer, feel free to tell me to get lost or
> whatever.  But IMNSHO some aspects of the ksh associative-array
> syntax suck.  Mightily.

I'm sure that constructive suggestions of associative array syntax
would be looked at.  Probably for this particular aspect of syntax,
compatibility with ksh isn't critical, although other things being
equal, compatibility is better than incompatibility.


  parent reply	other threads:[~1999-01-27 11:28 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-26 18:32 Phil Pennock
1999-01-27  6:36 ` Bart Schaefer
1999-01-27 10:59   ` Phil Pennock
1999-01-27 11:13     ` Geoff Wing
1999-01-27 11:33       ` Bruce Stephens
1999-01-27 12:46       ` Peter Stephenson
1999-01-27 11:28     ` Bruce Stephens [this message]
1999-01-27 14:11       ` Phil Pennock
1999-01-27 18:25         ` Bart Schaefer
2000-04-06  8:39 Sven Wischnowsky
2000-04-06  9:55 ` Bart Schaefer
2000-04-06 10:36   ` Andrej Borsenkow
2000-04-06 10:42 Sven Wischnowsky
2000-04-06 15:56 ` Bart Schaefer
2000-04-06 16:44   ` Zefram
2004-03-02 10:47 Two Questions Nikolai Weibull

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=vbd8416jkw.fsf@snake.isode.com \
    --to=b.stephens@isode.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).