Which kid's beginners programming - Python or Forth?

Edvard Majakari edvard+news at majakari.net
Tue Jun 28 14:30:02 CEST 2005

gatti at dsdata.it writes:

> Ivan Van Laningham wrote:
> [...]
>> Seriously, PostScript is a lot more fun to learn than Forth, and more
>> directly useful.  Since the rewards are so immediate, a kid's attention
>> could be gained and kept pretty easily.
> PostScript is easy, but I'm afraid some technical details could get in
> the way of enjoyable exploration, e.g. font types or scaling.
> PostScript is also a single purpose language: it can print static
> graphics and with a slightly more complex setup it can display static
> graphics on the screen, period. No interactivity, no files, no network,
> no general computation or data structures.

PostScript is _not_ limited to static stuff, and it _does_ support
interactivity. See eg. 


Of course, this is just academic fun(?). PostScript is mostly used for
printers, and as for yet, quite few papers support animated graphics :->

And yes, I also encourage to try Python.

> List comprehensions, however, *are* the basic control flow; loops are
> much more verbose and they should be used only when necessary.

Hm. My experience is that people find loops easier to understand - varies
somewhat, though. For some, 'more verbose' is 'more easy to understand'.

# Edvard Majakari		Software Engineer
# PGP PUBLIC KEY available    	Soli Deo Gloria!

$_ = '456476617264204d616a616b6172692c20612043687269737469616e20'; print
join('',map{chr hex}(split/(\w{2})/)),uc substr(crypt(60281449,'es'),2,4),"\n";

More information about the Python-list mailing list