> From: Zsbán Ambrus > > On Fri, Sep 4, 2009 at 2:07 AM, Sherlock Ric wrote: > > I quite liked this description of J from The Encyclopedia of Computer > Languages: > > > > Purely functional with lexical scope and more conventional control > structures, plus several new concepts such as function rank and > function arrays. > > Wait, what? J definitely does not have lexical scope, and does not > always encourage purely functional programming.
I don't have any CS background so my liking something doesn't necessarily mean that it is accurate in CS terms! :-) Reading up on scope "http://en.wikipedia.org/wiki/Scope_%28programming%29" it appears to me that J, similar to Perl can be defined with either static (lexical) or dynamic scoping? My understanding is that the first version(s) of J only used tacit the form i.e. explicit definition came later. I wonder if perhaps the description cited was written with that background? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
