Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
was python implemented as a object oriented langage at the beginning ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Fredrik Lundh  
View profile  
(7 users)  More options Oct 3 2006, 8:24 am
Newsgroups: comp.lang.python
From: "Fredrik Lundh" <fred...@pythonware.com>
Date: Tue, 3 Oct 2006 14:24:25 +0200
Local: Tues, Oct 3 2006 8:24 am
Subject: Re: was python implemented as a object oriented langage at the beginning ?

Bertrand Ballis wrote:
> I heard a lot of people from the Ruby community claiming that Python, like
> Perl, was a scripting langage that was changed aftewards to be object
> compatible, and that was making it not as good as Ruby, object-oriented
> from the begenning.

> Is that true ?

nope.

</F>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MonkeeSage  
View profile  
(2 users)  More options Oct 3 2006, 8:47 am
Newsgroups: comp.lang.python
From: "MonkeeSage" <MonkeeS...@gmail.com>
Date: 3 Oct 2006 05:47:53 -0700
Local: Tues, Oct 3 2006 8:47 am
Subject: Re: was python implemented as a object oriented langage at the beginning ?

 Bertrand Ballis wrote:
> I heard a lot of people from the Ruby community claiming that Python, like
> Perl, was a scripting langage that was changed aftewards to be object
> compatible, and that was making it not as good as Ruby, object-oriented
> from the begenning.

Sounds like a bunch of hooey on both counts ("alot of people claiming"
and "python not OO"). The python object system is closer to C++, ruby's
is closer to SmallTalk; but they are both OO (i.e., everything is an
object), and support all the OOP distinctives (i.e., encapsulation,
abstraction, &c) -- just because a language doesn't implement OO in the
exact same way as another doesn't mean it isn't OO -- it just means
it's a different language. Sounds like mabye you heard a few ruby
zealots who didn't know what they were talking about.

Regards,
Jordan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Roth  
View profile  
(4 users)  More options Oct 3 2006, 11:29 am
Newsgroups: comp.lang.python
From: "John Roth" <JohnRo...@jhrothjr.com>
Date: 3 Oct 2006 08:29:36 -0700
Local: Tues, Oct 3 2006 11:29 am
Subject: Re: was python implemented as a object oriented langage at the beginning ?

Fredrik Lundh wrote:
> Bertrand Ballis wrote:

> > I heard a lot of people from the Ruby community claiming that Python, like
> > Perl, was a scripting langage that was changed aftewards to be object
> > compatible, and that was making it not as good as Ruby, object-oriented
> > from the begenning.

> > Is that true ?

> nope.

> </F>

Since the original isn't showing up on Google Groups,
I'm going to hijack this response to make a longer
answer.

One problem with the frequently made assertion that
Ruby is "real" OO and Python isn't is that the person
making it usually doesn't say what they think "real"
OO is all about. It raises the suspicion that they're
repeating something they've heard without thinking
it through for themselves.

There are some significant differences. Python, like
C++, is multi-paradigm. That means that it's got
procedural elements such as the built-in functions.
Ruby doesn't: everything you can do is a method on
an object.

Another difference is that in Ruby, like Java,
everything descends from a single root object.
This is typical for a single inheritance language,
and not typical for a multiple inheritance language.
In Python all objects don't descend from a single
root object, although all new style classes do;
old style classes will vanish in release 3.0.

In Ruby, all objects are modifyable at runtime.
In Python many objects aren't, although most of
them can be subclassed. There is actually a
decent example of where this is useful: see the
rSpec language where they put a method named
"should" directly on object, for good reason.

John Roth


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
has  
View profile  
(2 users)  More options Oct 3 2006, 6:13 pm
Newsgroups: comp.lang.python
From: "has" <has.te...@virgin.net>
Date: 3 Oct 2006 15:13:14 -0700
Local: Tues, Oct 3 2006 6:13 pm
Subject: Re: was python implemented as a object oriented langage at the beginning ?

MonkeeSage wrote:
> [...] just because a language doesn't implement OO in the
> exact same way as another doesn't mean it isn't OO -- it just means
> it's a different language.

I've a suspicion that folk who aren't familiar with the Python object
system automatically assume the phrase 'Python types' means
C++/Java-style primitives - which it doesn't. Python's type/class
distinction may be klunky and inelegant, but it's still OO.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bruno Desthuilliers  
View profile  
(1 user)  More options Oct 4 2006, 4:23 am
Newsgroups: comp.lang.python
From: Bruno Desthuilliers <on...@xiludom.gro>
Date: Wed, 04 Oct 2006 10:23:15 +0200
Local: Wed, Oct 4 2006 4:23 am
Subject: Re: was python implemented as a object oriented langage at the beginning ?

has wrote:
> Python's type/class
> distinction

Which "type/class" distinction ?

--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'on...@xiludom.gro'.split('@')])"


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hanumizzle  
View profile  
(1 user)  More options Oct 6 2006, 1:32 am
Newsgroups: comp.lang.python
From: hanumizzle <hanumiz...@gmail.com>
Date: Fri, 6 Oct 2006 01:32:24 -0400
Local: Fri, Oct 6 2006 1:32 am
Subject: Re: was python implemented as a object oriented langage at the beginning ?
On 10/4/06, Bruno Desthuilliers <on...@xiludom.gro> wrote:

> has wrote:
> > Python's type/class
> > distinction

> Which "type/class" distinction ?

I think he means pre 2.2. (?)

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google