>>>>> "chain" == chain lube <ch********@hot mail.com> writes:
chain> Ville Vainio <vi***@spammers .com> wrote in message news:<du******* ******@mozart.c c.tut.fi>...
Frankly, there is no real reason to learn Scheme.
chain> Believe it or not: I had to translate all my former Python
chain> programs to Bigloo because I was at the point where I was
chain> not any longer happy with Python. Numarray was such a big
chain> mess (yes I have some experience with similar things: IDL,
Considered complaining to Numarray people instead of interpreting it
as a flaw in Python? Sometimes even filing a bug report might help.
chain> Matlab and especially Yorick) and Python is simply to
chain> depressing.
Could you show us a code example about what depresses you? Consider
this a good chance at advocacy, concrete examples always work. I was
sold to Python when I saw how easy doing CORBA is.
chain> - I can give types and that /tremendously/ improves
chain> readability and catches type erros but at the same time I
chain> am /always/ using all the freedom of Scheme programming.
Is Bigloo statically typed? If it isn't, you can equally well assert
the argument types in python functions.
chain> - Bigloo has pattern matching
Very much doable in Python. Pattern matching is rarely needed, though
- a couple of if-elif's will typically do fine (because that's what
pattern matching essentially is).
if tuple_types_are (argtuple, (int,[str], (int,int)):
pass
chain> - Object orientied programming (one can even create new
chain> types)
Folks here say Python kinda supports OOP too.
chain> Scheme works so well out for me, though, my knowledge of
chain> Scheme is very shallow but it makes me happy to program in
chain> (as opposed to Python).
Again, why? List some reasons, and we'll see if there is something
that would help you in e.g. ASPN Python cookbook.
Of course if Python "depresses" you, there might be some deeper
personality incompatibiliti es issues between you and the
language. Python tends to make me happy, esp. when I'm doing list
comprehensions :-).
--
Ville Vainio
http://tinyurl.com/2prnb