Re: simple rpn desktop calculator

Simon Cozens <[email protected]>
Newsgroups gmane.comp.lang.perl.fun
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.