Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In Scheme/Lisp/Dylan/Racket/Clojure/Your favorite lisp dialect everything except #f is true -- Dart is the other way around.


Right, it's the opposite convention from Lisp. I'm trying to distinguish from say Perl, which doesn't have a canonical true or false value but identifies a set of things that "seem like they should be false" like 0 and "".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: