@darachennis yep Bool is a subclass of int. duck typing gives a sane result for the arithmetic op. @sinasamavati
@sinasamavati Same in javascript and a bunch of other langs... Perhaps your expectations w.r.t. arithmetic operations on bool is weird! :)
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.