Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Just another Perl shrine
 
PerlMonks  

Re: The best "true zero" is...

by grinder (Bishop)
on Jun 09, 2005 at 04:22 UTC ( [id://465004]=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 The best "true zero" is...

Couldn't vote! The one true zero is just 0. No plusses, dashes, letters, spaces or any other superfluous fluff :)

update: yes, I am aware of the zero, true zero dichotomy which is what the poll is about. Let me just say... "truth wears many faces"

- another intruder with the mooring in the heart of the Perl

Replies are listed 'Best First'.
Re^2: The best "true zero" is...
by ambrus (Abbot) on Jun 09, 2005 at 05:15 UTC

    That's like saying that all primes are odd except 2 which is the oddest amongst all.

Re^2: The best "true zero" is...
by Smylers (Pilgrim) on Jun 20, 2005 at 04:39 UTC
    The one true zero is just 0. No plusses, dashes, letters, spaces or any other superfluous fluff.

    Ah, but this poll isn't about the one true "zero" but about the best "true zero" — of the various values in Perl which are zero in numeric context but true in boolean context, which do you like best?

    Just "0" fails cos it's false, not true; you need some of that "superfluous fluff" to make it a "true zero".

    Smylers

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://465004]
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.