Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: What is true and false in Perl?

by ikegami (Patriarch)
on Sep 15, 2009 at 18:10 UTC ( [id://795442]=note: print w/replies, xml ) Need Help??


in reply to Re: What is true and false in Perl?
in thread What is true and false in Perl?

"0" is not boolean, and neither is "",

Noone said they are. It was said they are false.

Providing such a 'feature' comes with a very significant readability and maintainability cost that is simply not justified.

That's odd. Perl, Python, PHP, C, C++, JavaScript, VB and the 5 or 6 CPU I know work that way. The only language I know that doesn't is Java.

Replies are listed 'Best First'.
Re^3: What is true and false in Perl?
by Anonymous Monk on Jan 31, 2012 at 17:33 UTC
    Also LISP.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-19 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found