[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Why is C so popular?



On Thu, 2003-08-28 at 05:22, Steve Lamb wrote:
> On Thu, 28 Aug 2003 05:09:03 -0500
> Ron Johnson <ron.l.johnson@cox.net> wrote:
> > On Thu, 2003-08-28 at 02:04, Steve Lamb wrote:
> > > On Thu, 28 Aug 2003 01:51:23 -0500
> > > Alex Malinovich <demonbane@the-love-shack.net> wrote:
> > [snip]
> > >     Of course now step 1 has been replaced with "rewrite in Python".  I
> > >     still
> > > have Perl coursing through my veins though.  The other day I caught myself
> > > trying to upper(s) a string instead of string.upper().  The deciding day
> > > that
>  
> > There's an even quicker way, that's even OO:
> > >>> import string
> > >>> s = 'foo'
> > >>> s.upper()
> > 'FOO'
> 
>     Well, actually, as of 2.1 or so that isn't needed.  All the methods from
> string are already applicable to strings.  Hence..
> 
> > > trying to upper(s) a string instead of string.upper().  The deciding day
>                                            ^^^^^^^^^^^^^^^
> 
>     :)

I'm sorry, but I don't understand your comments.

-- 
-----------------------------------------------------------------
Ron Johnson, Jr. ron.l.johnson@cox.net
Jefferson, LA USA

"My advice to you is to get married: If you find a good wife, 
you will be happy; if not, you will become a philosopher."
Socrates



Reply to: