Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re(tilly) 4: Efficiency in maintenance coding...

by tilly (Archbishop)
on Nov 15, 2001 at 03:05 UTC ( #125455=note: print w/replies, xml ) Need Help??

in reply to Re(3): Efficiency in maintenance coding...
in thread Efficiency in maintenance coding...

Pretty good...

But your proposed fix only handles 95% of the problem. Why didn't I try fixing things that way? (ie What does your fix miss?)

BTW so far this code example is not making the case for Perl being maintainable look very good... :-(

Your update is half-right. The half that is wrong is the most common misunderstanding I have encountered about how split behaves...

Eventually seems to have come. Modulo difficult questions about how the definition of a word ain't what you would expect. Consider a kudo delivered. :-)

  • Comment on Re(tilly) 4: Efficiency in maintenance coding...

Replies are listed 'Best First'.
(tye)Re: Efficiency in maintenance coding...
by tye (Sage) on Nov 15, 2001 at 03:22 UTC

    95%? You expect to only have 20 words? ;) [Update: I was thinking of a "slurp" version -- and rechecking shows that the original Perl version had a much more serious bug...]

    BTW, I guess "ain't" ain't a word. (:

            - tye (but my friends call me "Tye")
      No, it ain't, either in Java or Perl.

      BTW you are making Perl look better, which none of the rest of us were doing! The way to demonstrate maintainability is to demonstrate how easy maintainance is. Fixing the definition of "word" used to include an optional 't or 's is easily enough done in the Perl version. In the Java version it is far harder to realize this important feature...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://125455]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2018-07-16 14:58 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (342 votes). Check out past polls.