I was under the impression that Python doesn't implement closures properly. The Perl FAQ says:
Closures make sense in any programming language where you can have the return value of a function be itself a function, as you can in Perl. Note that some languages provide anonymous functions but are not capable of providing proper closures; the Python language, for example.
The Linux Journal interview with van Rossum last year (sorry, don't have a reference to hand) wasn't very encouraging either. It gave the impression that he met several new concepts (such as closures) whilst working at a university for a short time, and then created Python based on his first impressions of those concepts. I'd prefer to use a language which has been thought through more carefully than that.
At least Perl is consistently messy!:-)
I'm not a fan of enforced indentation for block structure either. I've used it in Gofer, Haskell, and Occam. Not again, thanks!
Thanks for the pointer to Python in OCaml. That does encourage me to use Python!
For non-GUI, UNIX specific programming details, I've found the following to be very useful:
"legitimate and illegitimate use prevention" is accurate but not very snappy. Any ideas using "restriction" or "obstruction" in a descriptive name?
There is an excellent Palm OS program called Strip from Zetetic Enterprises. It stores passwords securely using IDEA or DES encryption.
The source code is available at the site (with export restrictions). Perhaps that would help you?
The Linux Journal interview with van Rossum last year (sorry, don't have a reference to hand) wasn't very encouraging either. It gave the impression that he met several new concepts (such as closures) whilst working at a university for a short time, and then created Python based on his first impressions of those concepts. I'd prefer to use a language which has been thought through more carefully than that.
At least Perl is consistently messy! :-)
I'm not a fan of enforced indentation for block structure either. I've used it in Gofer, Haskell, and Occam. Not again, thanks!
Thanks for the pointer to Python in OCaml. That does encourage me to use Python!
Does Python implement closures properly yet? If not, I'll stick to my favourite language Objective CAML: http://caml.inria.fr/