Bennett Todd:
> Jonathan Paton mentioned Math::RPN; I hadn't heard about that one.
> My favourite little handy rpn desktop calculator just got a whole
> lot simpler:

> [16 lines of code]

For additional fun, let me contrast this with a chapter summary for a proposed
book on Perl Patterns. (Not Phil Crow's one - this book never made it past
review. Perhaps you can guess why.)

 Chapter 9: Project: an RPN calculator                                         
   Illustrates the design of a graphical user interface. Uses Decorator        
   and Facade patterns. State, Observer, Adaptor, Composite and  Bridge        
   patterns may also be involved. May involve a more general discussion of
   parsing and lexing/tokenising.

-- 
3rd Law of Computing:
        Anything that can go wr
fortune: Segmentation violation -- Core dumped

Reply via email to