Re: [Tutor] Python vs. MATLAB

2010-12-08 Thread Hilton Fernandes
Hi, Hugo ! Never mind that: it is usual that people in lists pay attention to usual posters. Your explanation was clear and straightforward, however it was also short. At least for the time being, i don't need any other document to teach me Python parameter passing semantics. All the best, hilt

Re: [Tutor] Python vs. MATLAB

2010-12-08 Thread Hugo Arts
On Wed, Dec 8, 2010 at 7:52 PM, Hilton Fernandes wrote: > Hi, Hugo ! > > Excellent explanation. Thank you. > > All the best, > hilton > Haha, well, at least someone noticed my explanation. I should probably refer you to Steven's dissertation of same, though, I think most would prefer it to mine.

Re: [Tutor] Python vs. MATLAB

2010-12-08 Thread Hilton Fernandes
Hi, Hugo ! Excellent explanation. Thank you. All the best, hilton On Mon, Dec 6, 2010 at 5:05 PM, Hugo Arts wrote: > On Mon, Dec 6, 2010 at 6:09 PM, Joel Schwartz > wrote: > > Chris, > > > > Can you say more about number (7) in your list? What does "pass by value" > > mean and what are the al

Re: [Tutor] Python vs. MATLAB

2010-12-07 Thread Sander Sweers
On 7 December 2010 00:16, Steven D'Aprano wrote: > Oh boy, is that a can of worms... and this is going to be a long post. You > might want to go make yourself a coffee first :) Great writeup and much appreciated :-). Thx Sander ___ Tutor maillist - T

Re: [Tutor] Python vs. MATLAB

2010-12-07 Thread Joel Schwartz
3:17 PM > To: tutor@python.org > Subject: Re: [Tutor] Python vs. MATLAB > > Joel Schwartz wrote: > > Chris, > > > > Can you say more about number (7) in your list? What does > "pass by value" > > mean and what are the alternatives? > > Oh boy,

Re: [Tutor] Python vs. MATLAB

2010-12-07 Thread Robert Sjöblom
> Joel Schwartz wrote: >> Chris, >> >> Can you say more about number (7) in your list? What does "pass by value" >> mean and what are the alternatives? > > Oh boy, is that a can of worms... and this is going to be a long post. > You might want to go make yourself a coffee first :) [snipped wall of

Re: [Tutor] Python vs. MATLAB

2010-12-06 Thread Steven D'Aprano
Joel Schwartz wrote: Chris, Can you say more about number (7) in your list? What does "pass by value" mean and what are the alternatives? Oh boy, is that a can of worms... and this is going to be a long post. You might want to go make yourself a coffee first :) Pass by whatever (also writte

Re: [Tutor] Python vs. MATLAB

2010-12-06 Thread Steven D'Aprano
Chris Fuller wrote: On Monday 06 December 2010, Jaidev Deshpande wrote: Also, wikipedia says Python is an interpreted language, what does that mean? The "interpreted" bit refers to the fact that the source code is not compiled before it is run. This is also true of Matlab. That's not comp

Re: [Tutor] Python vs. MATLAB

2010-12-06 Thread Chris Fuller
It also makes it hard to modify some data structure you are working with. I was experimenting with some object-oriented programming in Matlab, and you actually have to explicitly inherit from "handle" if you have any methods that modify internal state. That was a surprise! If you've got a da

Re: [Tutor] Python vs. MATLAB

2010-12-06 Thread Alan Gauld
"Jaidev Deshpande" wrote What advantages does Python have over MATLAB as a programming language, Python is a general purpose programming language. Matlab is a mathematical modelling toool that happens to be programmable. You wouldn't sensibly use Matlab to create a web site, or an action

Re: [Tutor] Python vs. MATLAB

2010-12-06 Thread Hugo Arts
On Mon, Dec 6, 2010 at 6:09 PM, Joel Schwartz wrote: > Chris, > > Can you say more about number (7) in your list? What does "pass by value" > mean and what are the alternatives? > > Thanks, > Joel > Generally, pass-by-* refers to how the arguments to functions are treated. * In call-by-value, the

Re: [Tutor] Python vs. MATLAB

2010-12-06 Thread Wayne Werner
On Mon, Dec 6, 2010 at 11:09 AM, Joel Schwartz wrote: > Chris, > > Can you say more about number (7) in your list? What does "pass by value" > mean and what are the alternatives? > Pass by value is exactly what it sounds like - you pass the value (a copy of everything in the memory). This is bad

Re: [Tutor] Python vs. MATLAB

2010-12-06 Thread Joel Schwartz
> Behalf Of Chris Fuller > Sent: Monday, December 06, 2010 6:22 AM > To: tutor@python.org > Subject: Re: [Tutor] Python vs. MATLAB > > 1) Python is free! > 2) Python indices start at 0! > 3) Python has way better GUIs > 4) Python can emulate a lot of Matlab functionalit

Re: [Tutor] Python vs. MATLAB

2010-12-06 Thread Chris Fuller
1) Python is free! 2) Python indices start at 0! 3) Python has way better GUIs 4) Python can emulate a lot of Matlab functionality with matplotlib and numpy 5) Matlab has a rather limited number of data structures 6) Matlab doesn't have anything like the third party support for almost anything 7)

[Tutor] Python vs. MATLAB

2010-12-06 Thread Jaidev Deshpande
Dear all What advantages does Python have over MATLAB as a programming language, (not the computing environment of MATLAB)? Also, wikipedia says Python is an interpreted language, what does that mean? ___ Tutor maillist - Tutor@python.org To unsubscri