Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: Incrementing "Infinity" bug (numification, perlnumber, magic increment decrement)

by LanX (Archbishop)
on Mar 25, 2013 at 12:33 UTC ( #1025285=note: print w/replies, xml ) Need Help??


in reply to Re^3: Incrementing "Infinity" bug (numification, perlnumber, magic increment decrement)
in thread Incrementing "Infinity" bug

> We never needed that,

I showed a use case producing short, self-explanatory code with the use of inf.

> use 0+inf or int '-inf' ...

sure, why not introducing one more level of cryptic workarounds to justify perl's reputation of a line-noise-language instead of having self explanatory constants?

> update:

well ... no comment on the fact of an AnoMonk who can update his nodes ...;-)

Cheers Rolf

( addicted to the Perl Programming Language)

  • Comment on Re^4: Incrementing "Infinity" bug (numification, perlnumber, magic increment decrement)
  • Select or Download Code

Replies are listed 'Best First'.
Re^5: Incrementing "Infinity" bug (numification, perlnumber, magic increment decrement)
by Anonymous Monk on Mar 26, 2013 at 08:49 UTC

    > We never needed that,
    I showed a use case producing short, self-explanatory code with the use of inf.

    But what has that got to do with the whack/hack 1e9999 ?

    $ perl -le " print for 1 .. 0+'Inf'" Range iterator outside integer range at -e line 1.

    sure, why not introducing one more level of cryptic workarounds to justify perl's reputation of a line-noise-language instead of having self explanatory constants?

    you know, I linked to the docs, the explanation, and the inf constant exporters (bigrat/bigint )

    perl is fundamentally what it is, and it works the way it has for over a decade, if you don't like it, don't use it; calling it line-noise and cryptic at every turn is uninspired and uninteresting

    update:

    well ... no comment on the fact of an AnoMonk who can update his nodes ...;-)

    Boring :/

      > perl is fundamentally what it is, and it works the way it has for over a decade, if you don't like it, don't use it; calling it line-noise and cryptic at every turn is uninspired and uninteresting

      good arguments for Perl 4.

      Cheers Rolf

      ( addicted to the Perl Programming Language)

        good arguments for Perl 4

        sure they're not

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025285]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2019-12-10 01:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?