Timeline for Interpretation of Truthy/Falsey
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 4, 2014 at 16:23 | comment | added | Digital Trauma | @MooingDuck Consider also what UNIX shells typically do true; echo $?; false; echo $? TRUE == 0 and FALSE == 1 | |
| Oct 4, 2014 at 0:47 | comment | added | Mooing Duck | I would consider "-1 for FAILURE and >=0 for SUCCESS" to represent an error/result union rather than a boolean, and ergo not a truthy/falsey thing. I could be convinced otherwise though. | |
| Sep 16, 2014 at 2:14 | comment | added | Geobits | +1 Truthy (US, colloquial): Only superficially true; that which is asserted or felt instinctively to be true, with no recourse to facts. If you want true or 1, ask for true or 1. If you ask for "truthy", I'll give you something truthy. | |
| Sep 16, 2014 at 1:23 | comment | added | jimmy23013 | @Dennis If the OP didn't ask for true / false values, but truthy / falsey, you could simply call every convenient palindrome truthy. | |
| Sep 16, 2014 at 0:39 | comment | added | Dennis | While I'll like every OP to opt for this approach, I don't think we should make it the default. Just look at the return values of Ilmari's and my answer to “Convenient palindrome” checker. It's hard to draw a line with this approach... | |
| Sep 16, 2014 at 0:26 | history | answered | Digital Trauma | CC BY-SA 3.0 |