SPUG: flip-flops

Andrew Sweger andrew at sweger.net
Fri Feb 8 03:54:14 CST 2002


On Thu, 7 Feb 2002, Colin Meyer wrote:

> 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.

Good heavens, no! I only wanted to express that there is a practical
limit. Perl did get its "line noise" reputation for a reason after all. I
feel that production quality Perl should be readable by other Perl
graduates (think of it like a bachelor's degree, it means someone knows
enough about Perl to get by without being told what to do). PhD Perl
should be (p)reserved as art (I'm excluding abstractions of good quality,
of course, as that's the whole point to them).

I would encourage an explicit FlipFlop class in any large production.
(Reduced to native or builtin structures in response to optimizations
where needed, natch.)

Give me TMTOWTDI or give me death.

-- 
Andrew B. Sweger -- The great thing about multitasking is that several
                                things can go wrong at once.



 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     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