SPUG: flip-flops

Colin Meyer cmeyer at helvella.org
Thu Feb 7 11:18:36 CST 2002


On Thu, Feb 07, 2002 at 01:45:26AM -0800, Andrew Sweger wrote:
> On Wed, 6 Feb 2002, Colin Meyer wrote:
> 
> > You'd rather that there was a FlipFlop class object that provided an
> > accessor to that state?
> 
> Amen. I mean, yes.

Perhaps you'd be more comfortable with Python then? ;-) Instead of ops
like .. or =~ s///g, everything is done with objects. Oh, and there's
no TMTOWTDI.

  "Readability is often enhanced by reducing unnecessary variability.
  When possible, there's a single, obvious way to code a particular
  construct. This reduces the number of choices facing the programmer
  who is writing the code, and increases the chance that will appear
  familiar to a second programmer reading it. Yet another contribution
  to Python's readability is the choice to use punctuation mostly in a
  conservative, conventional manner. Most operator symbols are familiar
  to anyone with even a vague recollection of high school math, and no
  new meanings have to be learned for comic strip curse characters like
  @&$!. " --Guido, from the forward to Programming Python (1st ed.)

While there are many interesting things about Python (tuples just to 
get started), it is Perl's richness of expressability that keeps my
attention. Well, that and all those handy modules on the CPAN. ;-)

Have fun,
-C.

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org





More information about the spug-list mailing list