Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
laziness, impatience, and hubris
 
PerlMonks  

Re: •Re: Re: Simple command line calculator

by premchai21 (Curate)
on Mar 15, 2002 at 15:17 UTC ( [id://152074]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 12: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()

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://152074]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.