Page 2 of 2

Re: Who's learning Python?

PostPosted: Wed Jan 16, 2008 4:24 am
by xinok
The reason they do this is if you were to pass an array to a function, it's faster to pass by reference than to duplicate the array.

But this is simply how Python is by design. It's a dynamically typed language, so everything is a reference to an object. Even primitive types like int, float, and string are objects. Even the types themselves are objects, which means you can do this:
arr = [int, float, str]

Re: Who's learning Python?

PostPosted: Thu Jan 17, 2008 12:09 pm
by alee
I'll be looking into this when i have some spare time. Looks fun and intuitive.

Re: Who's learning Python?

PostPosted: Thu Jan 17, 2008 6:21 pm
by SuperV
Phython is pretty easy. I readed some syntax on a internet page, and it's similar to VB and pretty easy. I used VB for like 5 years, I'm advantaged :D