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

Re: OT: Why is C so popular?



Quoting Ron Johnson <ron.l.johnson@cox.net>:
> On Wed, 2003-08-27 at 06:34, Paul Johnson wrote:
> > On Wed, Aug 27, 2003 at 03:59:27AM -0500, Ron Johnson wrote:
> > > 3 - "I learned C in college, and C lets me write in 1 long line 
> > > that which takes 3 easy-to-read lines in Fortran.  Thus, C is great,
> > > and all other languages suck!". Fortunately, this attitude is also
> > > diminishing.  Unfortunately, nowadays "s/C /Perl /".
> > 
> > Wouldn't it be easier to read if you wrote it s/C/Perl/ ?
> 
> So that it wouldn't change Choo-choo to Perlhoo-choo.  I wasn't
> just thinking of that one paragraph...
> 
Then: s/\bC\b/Perl/g ;-)
(Yes, I also added a g at the end to not only substitute the 1st occurence)

    Francois.

-- 
Francois BOTTIN
--
    "How kind," the PFY sighs. "But where will I go?" 
    "Somewhere where they know nothing about computing...
where they wouldn't know a RAM chip from a potato chip!" 
    "But I don't want to visit Microsoft!" he whines.
              The BOFH 1998 - Simon Travaglia (bofh.ntk.net)



Reply to: