in reply to •Re: Re: Simple command line calculator
in thread Simple command line calculator

The Perl debugger interface, to me, is too cluttered for this purpose, especially considering the -- what are they, ANSI control codes? -- formatting. Python's interactive mode is somewhat better, but Python doesn't do math quite as well as Perl, I think. Interactive Ruby (irb), out of the three, is IMHO the best; as two examples, Ruby automatically switches to bignums when necessary, and is not as whitespace-dependent as Python (important in interactive mode)... the major disadvantage is that it is much less common than Perl and Python, or so I've seen.

  • Comment on Re: •Re: Re: Simple command line calculator

Replies are listed 'Best First'.
Re(4): Simple command line calculator
by strfry() (Monk) on Mar 21, 2002 at 17:08 UTC
    The Perl debugger interface, to me, is too cluttered for this purpose, especially considering the -- what are they, ANSI control codes? -- formatting.

    ANSI codes, yes, because it's using Term::ReadLine::Gnu and Term::ReadLine (on my system at least) - i think they look cool, myself. (:

    of course, if you want an interactive calculator, the Term::Readline manual has a nice example.

    --
    strfry()