Re: alternate language

2006-12-15 Thread Florian Diesch
Bryan [EMAIL PROTECTED] wrote:

 what is a good alternate language to learn? i just want something to
 expand my mind and hopefully reduce or delay any chance of
 alzheimer's. i would especially like to hear from those of you who
 learned python _before_ these languages.

 haskell, erlang, ocaml, mozart/oz, rebel, etc.

I did a little bit Haskell at university. IMHO it's a very interesting
language to expand your mind. I never used it for real programming
though.


 i don't require any of these features, but extra browny points for any
 of the following:

 interactive interpreter

HUGS

 batteries included

Not with the standard library but AFAIK GHC comes with alot of things

 can integrate with c

AFAIK there are some tools

 compiles to native code

GHC

 can use a gui toolkit such as wx

AFAIK there are at least Gtk bindings

 doesn't take 60 hour weeks over years to master

It may take you some time get the idea of pure functional programming
(no loops, no assignment, ...)


   Florian
-- 
http://www.florian-diesch.de/
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: alternate language

2006-12-12 Thread Hendrik van Rooyen
Bryan [EMAIL PROTECTED] wrote:


 what is a good alternate language to learn? i just want something to expand
 my mind and hopefully reduce or delay any chance of alzheimer's. i would
 especially like to hear from those of you who learned python _before_ these
 languages.

 haskell, erlang, ocaml, mozart/oz, rebel, etc.

 i don't require any of these features, but extra browny points for any of
 the following:

 interactive interpreter
 batteries included
 can integrate with c
 compiles to native code
 can use a gui toolkit such as wx
 doesn't take 60 hour weeks over years to master

Here's a skewed alternative, that has none of the features you are looking for:

1) Buy a development kit for a pic, 8031, avr or arm.
2) Read the documentation for the processor
3) Write a hello world in Assembler, simultaneously flickering an LED.

It will give more satisfaction, and delay the onset of Alzheimer's, far more
effectively than any of the higher level languages you are contemplating.

And if you really want a challenge, don't use the assembler, hand code the hex.
Just once.
Just so that you can appreciate what an assembler, and by extension,
a compiler, does for you.

- Happy hacking   ;-)

- Hendrik



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: alternate language

2006-12-11 Thread Lou Pecora
In article [EMAIL PROTECTED],
 Bryan [EMAIL PROTECTED] wrote:

 what is a good alternate language to learn? i just want something to expand
 my mind and hopefully reduce or delay any chance of alzheimer's. i would
 especially like to hear from those of you who learned python _before_ these
 languages.
 
 haskell, erlang, ocaml, mozart/oz, rebel, etc.

I have no experience with any of these.  Of course, now I will give my 
opinions.  :-)  Just based on my experience with Python, C, C++, BASIC 
(several flavors), Fortran 77 (mostly).
 
 i don't require any of these features, but extra browny points for any of
 the following:
 
 interactive interpreter

Python has several.

 batteries included

Not sure what you mean here.  Certainly the standard Python packages 
would offer you an immediately usable Python from Terminal and some 
other interpreters.  But there are LOTS of add-ons available.  A big 
plus with Open Source.  Keeping them coordinated is a task, though (a 
big minus with Open Source).  Overall, I haven't had to mess too much to 
get lots of usability from Python, especially for Scientific computing.

 can integrate with c

Yes. Several approaches, but none trivial.

 compiles to native code

No.

 can use a gui toolkit such as wx

Yep.  Wx is here for Python.  Also a book on it by Rappin and Dunn 
(Manning , publ. 2006)

 doesn't take 60 hour weeks over years to master

You'll be writing code on day 1. Useful code, too.  Very, very nice 
language to learn and use.  I recommend Python in a Nutshell by Martelli 
(O'Reilly Publ.) to read as you learn.  Lots of online tutorials.  See 
Python.org, SourceForge and google.  I think you can get pretty good at 
Python coding in a month or so.  


Along with Perl and Ruby, Python is really a very popular 
interpreted/scripting language rather than a niche language (which I 
think most of the ones you mentioned are somewhat niche).  That means 
there's a big, helpful community out there to talk to and lots of code 
available.  I do all my new coding in it and then when I need speed in 
some routine I rewrite it in C as a Python extension.  I can develop 
many times faster than I could in C/C++ or Fortran or BASIC (even).  I 
cannot compare, however, to the languages you mentioned.  Sorry.

-- Lou Pecora  (my views are my own) REMOVE THIS to email me.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: alternate language

2006-12-11 Thread Aahz
In article [EMAIL PROTECTED],
Lou Pecora  [EMAIL PROTECTED] wrote:
In article [EMAIL PROTECTED],
 Bryan [EMAIL PROTECTED] wrote:

 what is a good alternate language to learn? i just want something to expand
 my mind and hopefully reduce or delay any chance of alzheimer's. i would
 especially like to hear from those of you who learned python _before_ these
 languages.
 
 haskell, erlang, ocaml, mozart/oz, rebel, etc.

I have no experience with any of these.  Of course, now I will give my 
opinions.  :-)  Just based on my experience with Python, C, C++, BASIC 
(several flavors), Fortran 77 (mostly).
 
 i don't require any of these features, but extra browny points for any of
 the following:
 
 interactive interpreter

Python has several.

Um...  I think the original poster is saying that he already knows Python
and wants to learn another language.  He particularly wants opinions from
other people who have learned these languages *after* learning Python.
-- 
Aahz ([EMAIL PROTECTED])   * http://www.pythoncraft.com/

Member of the Groucho Marx Fan Club  
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: alternate language

2006-12-11 Thread Lou Pecora
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Aahz) 
wrote:

 In article [EMAIL PROTECTED],
 Lou Pecora  [EMAIL PROTECTED] wrote:
 In article [EMAIL PROTECTED],
  Bryan [EMAIL PROTECTED] wrote:
 
  what is a good alternate language to learn? i just want something to expand
  my mind and hopefully reduce or delay any chance of alzheimer's. i would
  especially like to hear from those of you who learned python _before_ these
  languages.
  
  haskell, erlang, ocaml, mozart/oz, rebel, etc.
 
 I have no experience with any of these.  Of course, now I will give my 
 opinions.  :-)  Just based on my experience with Python, C, C++, BASIC 
 (several flavors), Fortran 77 (mostly).
  
  i don't require any of these features, but extra browny points for any of
  the following:
  
  interactive interpreter
 
 Python has several.
 
 Um...  I think the original poster is saying that he already knows Python
 and wants to learn another language.  He particularly wants opinions from
 other people who have learned these languages *after* learning Python.

Oh...never mind.  :-)

-- Lou Pecora  (my views are my own) REMOVE THIS to email me.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: alternate language

2006-12-11 Thread Michele Simionato

Bryan wrote:
 what is a good alternate language to learn? i just want something to expand
 my mind and hopefully reduce or delay any chance of alzheimer's. i would
 especially like to hear from those of you who learned python _before_ these
 languages.

 haskell, erlang, ocaml, mozart/oz, rebel, etc.

 i don't require any of these features, but extra browny points for any of
 the following:

 interactive interpreter
 batteries included
 can integrate with c
 compiles to native code
 can use a gui toolkit such as wx
 doesn't take 60 hour weeks over years to master


Chicken Scheme: http://www.call-with-current-continuation.org
(not sure about wx, but there are various GUI wrappers available)


Michele Simionato

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: alternate language

2006-12-11 Thread Grant Edwards
On 2006-12-11, Aahz [EMAIL PROTECTED] wrote:

 Um...  I think the original poster is saying that he already knows Python
 and wants to learn another language.  He particularly wants opinions from
 other people who have learned these languages *after* learning Python.

There are people who learn another language after learning Python??

-- 
Grant Edwards   grante Yow!  The Korean War must
  at   have been fun.
   visi.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: alternate language

2006-12-11 Thread Aahz
In article [EMAIL PROTECTED],
Grant Edwards  [EMAIL PROTECTED] wrote:
On 2006-12-11, Aahz [EMAIL PROTECTED] wrote:

 Um...  I think the original poster is saying that he already knows Python
 and wants to learn another language.  He particularly wants opinions from
 other people who have learned these languages *after* learning Python.

There are people who learn another language after learning Python??

Heh.  Taking your post more seriously than it deserves, don't you think
someone ought to learn at least SQL if they don't already know it when
they learn Python?
-- 
Aahz ([EMAIL PROTECTED])   * http://www.pythoncraft.com/

Member of the Groucho Marx Fan Club  
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: alternate language

2006-12-11 Thread Pekka Karjalainen
In article [EMAIL PROTECTED], Aahz wrote:
In article [EMAIL PROTECTED],
Grant Edwards  [EMAIL PROTECTED] wrote:
On 2006-12-11, Aahz [EMAIL PROTECTED] wrote:

 Um...  I think the original poster is saying that he already knows Python
 and wants to learn another language.  He particularly wants opinions from
 other people who have learned these languages *after* learning Python.

There are people who learn another language after learning Python??

Heh.  Taking your post more seriously than it deserves, don't you think
someone ought to learn at least SQL if they don't already know it when
they learn Python?
-- 
Aahz ([EMAIL PROTECTED])   * http://www.pythoncraft.com/

Member of the Groucho Marx Fan Club  

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: alternate language

2006-12-11 Thread Pekka Karjalainen
In article [EMAIL PROTECTED], Pekka Karjalainen wrote:
nothing

Sorry, I messed up the attribution when editing and decided not to
post. Accidentally did post an empty message anyway.

I was going to recommend Haskell for the original poster too, and I wanted
to answer that I did indeed (start to) learn another language after
Python. Haskell is mind-expanding after all. I'm not sure which directions
mine has expanded, because I have so much difficulty with slrn today, but
never mind.

I won't repeat the Haskell recommendation I typed up and then deleted. If
you look at what people say about it you either want to try it or not.

Pka

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: alternate language

2006-12-11 Thread Grant Edwards
On 2006-12-11, Aahz [EMAIL PROTECTED] wrote:
 Grant Edwards  [EMAIL PROTECTED] wrote:

 Um...  I think the original poster is saying that he already knows Python
 and wants to learn another language.  He particularly wants opinions from
 other people who have learned these languages *after* learning Python.

There are people who learn another language after learning Python??

 Heh.  Taking your post more seriously than it deserves,

It was intended as a joke. :)

 don't you think someone ought to learn at least SQL if they
 don't already know it when they learn Python?

More seriously, I would have suggested Scheme, Prolog, Smalltalk, and possibly
APL -- but those are all pretty old-school.

-- 
Grant Edwards
[EMAIL PROTECTED]

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: alternate language

2006-12-11 Thread Aahz
In article [EMAIL PROTECTED],
Grant Edwards  [EMAIL PROTECTED] wrote:
On 2006-12-11, Aahz [EMAIL PROTECTED] wrote:
 Grant Edwards  [EMAIL PROTECTED] wrote:

There are people who learn another language after learning Python??

 Heh.  Taking your post more seriously than it deserves,

It was intended as a joke. :)

Yeah, yeah, that's what they all say.
-- 
Aahz ([EMAIL PROTECTED])   * http://www.pythoncraft.com/

Member of the Groucho Marx Fan Club  
-- 
http://mail.python.org/mailman/listinfo/python-list


alternate language

2006-12-10 Thread Bryan
what is a good alternate language to learn? i just want something to expand
my mind and hopefully reduce or delay any chance of alzheimer's. i would
especially like to hear from those of you who learned python _before_ these
languages.

haskell, erlang, ocaml, mozart/oz, rebel, etc.

i don't require any of these features, but extra browny points for any of
the following:

interactive interpreter
batteries included
can integrate with c
compiles to native code
can use a gui toolkit such as wx
doesn't take 60 hour weeks over years to master


thanks,

bryan




-- 
http://mail.python.org/mailman/listinfo/python-list