tag:blogger.com,1999:blog-16823943.post1446673604514400613..comments2023-09-18T12:16:21.289-07:00Comments on Evolving English II: Truthiness and falsinessWordzGuyhttp://www.blogger.com/profile/04618408509448732889noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-16823943.post-27571297139385602132013-10-08T04:44:29.966-07:002013-10-08T04:44:29.966-07:00I think I'm the second person to mention truth...I think I'm the second person to mention truthy value use in Java on blog, post: "Use truthy falsey booleans in Java". -- JosefAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-16823943.post-36170153910482136412011-04-03T11:38:41.336-07:002011-04-03T11:38:41.336-07:00As for the use of the word "truthy" and ...As for the use of the word "truthy" and "falsey" ... no, I've never heard those words used in this context... but then again, I'm also a JavaScript developer (as are all the developers I work with) and we don't really use those words to describe this in Javascript either...Brad Hefta-Gaubnoreply@blogger.comtag:blogger.com,1999:blog-16823943.post-62391894484305997792011-04-02T21:45:37.256-07:002011-04-02T21:45:37.256-07:00@Brad -- do PHP programmers use the terms truthy a...@Brad -- do PHP programmers use the terms <i>truthy</i> and <i>falsy</i> to indicate the looser sorts of equality? (Or lack thereof)WordzGuyhttps://www.blogger.com/profile/04618408509448732889noreply@blogger.comtag:blogger.com,1999:blog-16823943.post-60916641244107438402011-04-02T20:44:20.700-07:002011-04-02T20:44:20.700-07:00PHP also supports this concept and it also include...PHP also supports this concept and it also includes special versions of the comparison operators to determine if the operands are "sort of equal" or "really really equal".<br /><br />So for example, in PHP:<br /><br />0 == NULL<br />0 == false<br /><br />The "==" operator, like in JavaScript compares the "truthiness" of whether or not these things are equal... it's really a "close enough" comparison.<br /><br />However, in PHP we also have the "really really equal" operator. And in this case...<br /><br />0===NULL will return FALSE<br />0===false will return FALSE<br /><br />They are not "really really equal".Brad Hefta-Gaubnoreply@blogger.com