On Tuesday 28 of August 2012 11:26:19 erik quanstrom wrote:
> > And rc is not perfect.  I've always felt like the 'if not' stuff was a
> > kludge.
> no, it's certainly not.  (i wouldn't call if not a kludge—just ugly.  the
> haahr/rakitzis es' if makes more sense, even if it's wierder.)
> 
> but the real question with rc is, what would you fix?


switch/case would make helluva difference over nested if/if not, if defaulted 
to fall-through.

variable scoping (better than subshel) would help writing larger scripts, but 
that's not necessarily an improvement ;-) something similar to LISP's `let' 
special form, for dynamic binding.

-- 
dexen deVries

1972 - Dennis Ritchie invents a powerful gun that shoots both forward and 
backward simultaneously. Not satisfied with the number of deaths and permanent 
maimings from that invention he invents C and Unix.

Reply via email to