lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Wed, Sep 23, 2009 at 8:18 AM, steve donovan <steve.j.donovan@gmail.com> wrote:
On Wed, Sep 23, 2009 at 3:12 PM, Gregg Reynolds <dev@mobileink.com> wrote:
> Scheme remains without peer for learning programming.

This is a common notion. What can Scheme do that cannot be expressed
in Lua?  (Note, this is an actual question)

Teach you computation.  When somebody has written an introductory text as good as SICP using Lua, and Lua has a pedagogical implementation as sophisticated as PLT Scheme (and HTDP, by the same team, deserves mention as well), then I'll agree that Lua is as good for learning.  Actually even then I think Scheme's simplicity and purity would win out; the fact that it is pretty close to a straighforward transcription of Lambda calculus is not a minor point.  And the SICP Lectures are even available online!  What more could one ask for?

The basic flaw in the standard "which language is best for learning programming" is that the language is largely irrelevant.  In fact one could teach everything you need to know without using a "real" programming language; a little lambda notation and something like Knuth's invented assembler language would do just fine, and might even be a better way to go.  After that it's just a question of the practicalities of learning how to use a programmer's editor and deal with source code, compiler messages, etc.  For that obviously Emacs is the One True solution.

-gregg