[Csnd] Java vs Python
Date | 2012-09-24 21:18 |
From | Cacophony7 |
Subject | [Csnd] Java vs Python |
I'm currently learning Java for the first time and according to the University of British Columbia's introduction to Python, Python is the language that Java should have been because of its elegant, easy-to-use syntax (http://cstudies.ubc.ca/a/Course/Python-Programming-Introduction/IP456/). I said "Hello World" to Python but never learned much about it at all. The first languages that I ever learned where Pascal (Turbo Pascal) and C++. I found C++ hard to learn when I was first introduced to OOP and I still haven't learned about it's encapsulation and polymorphism. I've been trying to learn C++ for years and found Java much easier to learn but what about Python and what's the significant difference between Python 2 and Python 3? -- View this message in context: http://csound.1045644.n5.nabble.com/Java-vs-Python-tp5716116.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-09-24 21:38 |
From | zappfinger |
Subject | [Csnd] Re: Java vs Python |
At the moment Python is my favourite language, because it has an easy syntax and is elegant and powerful. Although Python is often used for prototyping (creating a 'sketch' program), many times it is fast enough for the real job. Java is the model language when it comes to OOP, and I think C# owns a lot to Java. Concerning Python 2 or 3, many people are not so happy with the incompatibilities that this version 3 introduced, as you can read in some blogs. Richard -- View this message in context: http://csound.1045644.n5.nabble.com/Java-vs-Python-tp5716116p5716117.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-09-24 21:41 |
From | Roger Kelly |
Subject | Re: [Csnd] Re: Java vs Python |
Python is my favorite, especially if you are doing Csound "computer" based applications. Csound has a very nice embedded integration that can be very flexible. Look at the "py" opcodes in Csound. Java is good if you want to do Android development, but for real-time development it is not as good a choice as C++. On Mon, Sep 24, 2012 at 3:38 PM, zappfinger <zappfinger@gmail.com> wrote: At the moment Python is my favourite language, because it has an easy syntax |
Date | 2012-09-24 22:14 |
From | Cacophony7 |
Subject | [Csnd] Re: Java vs Python |
Is Python 2.7 the last version in the Python 2 series or is there a 2.8 or higher? Which Python should a Csounder learn? I got Python(x,y) but I never used it at all. -- View this message in context: http://csound.1045644.n5.nabble.com/Java-vs-Python-tp5716116p5716122.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-09-24 22:32 |
From | zappfinger |
Subject | [Csnd] Re: Java vs Python |
Python 2.7 is the latest (and the last) in the version 2 series. I recommend you start with that. Richard -- View this message in context: http://csound.1045644.n5.nabble.com/Java-vs-Python-tp5716116p5716123.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-09-24 23:03 |
From | Cacophony7 |
Subject | [Csnd] Re: Java vs Python |
It's hard to find a book distinctly for Python 2.7. Amazon Is such a labyrinth. I like books better than web pages. Is there such a specific book? -- View this message in context: http://csound.1045644.n5.nabble.com/Java-vs-Python-tp5716116p5716124.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-09-25 04:43 |
From | Pablo Frank |
Subject | RE: [Csnd] Re: Java vs Python |
i began with this book, on line and also for purchase in amazon: http://www.freenetpages.co.uk/hp/alan.gauld/ Even written some years before, sure the basics are the same. > Date: Mon, 24 Sep 2012 15:03:01 -0700 > From: michaelsparks37@gmail.com > To: csound@lists.bath.ac.uk > Subject: [Csnd] Re: Java vs Python > > It's hard to find a book distinctly for Python 2.7. Amazon Is such a > labyrinth. I like books better than web pages. > Is there such a specific book? > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/Java-vs-Python-tp5716116p5716124.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > |
Date | 2012-09-25 04:59 |
From | John Colgrove |
Subject | [Csnd] Re: Java vs Python |
Coursera has a couple of python courses planned. One is an introduction to Python. The course is called Learn to Program: The Fundamentals. You'll be learning Python 3 but from what I've read and understood (as noted in this list also I think), Python 2.7 is frozen. Python 3 is the future of the language according to their website. In any case, it might be worth a shot to check out the free course. It may have started already but you should be able to join (I think). It started yesterday or the day before. https://www.coursera.org/ By the way, does Csound support Python 3? If not is there an estimate on how long before it will? -- View this message in context: http://csound.1045644.n5.nabble.com/Java-vs-Python-tp5716116p5716128.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-09-25 05:46 |
From | Cacophony7 |
Subject | [Csnd] Re: Java vs Python |
That is a good question. When will Csound support Python 3? John Colgrove wrote > Coursera has a couple of python courses planned. One is an introduction to > Python. The course is called Learn to Program: The Fundamentals. You'll be > learning Python 3 but from what I've read and understood (as noted in this > list also I think), Python 2.7 is frozen. Python 3 is the future of the > language according to their website. In any case, it might be worth a shot > to check out the free course. It may have started already but you should > be able to join (I think). It started yesterday or the day before. > > https://www.coursera.org/ > > By the way, does Csound support Python 3? If not is there an estimate on > how long before it will? -- View this message in context: http://csound.1045644.n5.nabble.com/Java-vs-Python-tp5716116p5716129.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-09-25 12:21 |
From | Stéphane Rollandin |
Subject | Re: [Csnd] Re: Java vs Python |
> Java is the model language when it comes to OOP Not to start a language war but... Smalltalk is the OOP model language :) Stef |
Date | 2012-09-25 12:54 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Re: Java vs Python |
Some would say, simula is the OOP model language. I would claim the first OOP language is in fact MUSIC IV. On 25 Sep 2012, at 12:21, Stéphane Rollandin wrote: >> Java is the model language when it comes to OOP > > Not to start a language war but... Smalltalk is the OOP model language :) > > Stef > > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2012-09-25 14:03 |
From | luis jure |
Subject | Re: [Csnd] Re: Java vs Python |
on 2012-09-24 at 20:59 John Colgrove wrote: > It may have started already but you should be able to join (I think). It > started yesterday or the day before. > >https://www.coursera.org/ thanks for the link, i have just joined the course. looks interesting. i think you can join anytime during the week. |
Date | 2012-09-25 15:57 |
From | Stéphane Rollandin |
Subject | Re: [Csnd] Re: Java vs Python |
> Some would say, simula is the OOP model language. I would claim the first OOP language is in fact MUSIC IV. Smalltalk is still with us, though. Stef |
Date | 2012-09-25 17:46 |
From | Justin Smith |
Subject | Re: [Csnd] Re: Java vs Python |
There is actually an important point here - java is its own breed of OO that gets copied quite a bit as if it were canonically what OO is about. IMHO OO is much more about message passing and interfaces and less about classes and inheritance; an approach which is more present in smalltalk, CLOS, OCaml, and clojure, but java and its successors lose sight of. On Tue, Sep 25, 2012 at 7:57 AM, Stéphane Rollandin |
Date | 2012-09-25 20:10 |
From | Toby |
Subject | Re: [Csnd] Java vs Python |
> I said "Hello World" to Python but never learned much about it at all. Are you writing csound scores with python? For this, python excels, and you will get things done far faster than with Java. |