Post AOQX2IZeQdQAvRLomm by sergio_101@mastodon.social
 (DIR) More posts by sergio_101@mastodon.social
 (DIR) Post #AONCFUrGXIMxQoI5my by veer66@mstdn.io
       2022-10-08T23:48:45Z
       
       0 likes, 1 repeats
       
       In Python, True is 1, False is 0, and 2 is true.
       
 (DIR) Post #AONHLWW9mJtc5R6uDQ by sergio_101@mastodon.social
       2022-10-09T00:45:53Z
       
       0 likes, 0 repeats
       
       @veer66 I have to think about languages where this won’t work
       
 (DIR) Post #AONHXKU0Lh7GEjjWUK by veer66@mstdn.io
       2022-10-09T00:48:02Z
       
       0 likes, 0 repeats
       
       @sergio_101 100 + True doesn't work in most programming languages that I use. 🤔
       
 (DIR) Post #AONHdFYzYKAciTtBiK by sergio_101@mastodon.social
       2022-10-09T00:49:06Z
       
       0 likes, 0 repeats
       
       @veer66 now, I gotta try it. I’ll give it a whirl tomorrow in #smalltalk and #elixir
       
 (DIR) Post #AONHpJqvQmxpUi24W0 by veer66@mstdn.io
       2022-10-09T00:51:18Z
       
       0 likes, 0 repeats
       
       @sergio_101 Interesting! I guess it doesn't work on most Lisp-inspired languages.
       
 (DIR) Post #AONHrfaJbQQbTTNrtY by sergio_101@mastodon.social
       2022-10-09T00:51:42Z
       
       0 likes, 0 repeats
       
       @veer66 oh! And #elisp too!
       
 (DIR) Post #AOQX2IZeQdQAvRLomm by sergio_101@mastodon.social
       2022-10-10T14:25:40Z
       
       0 likes, 0 repeats
       
       @veer66 Elixir:iex(2)> 100 + True               ** (ArithmeticError) bad argument in arithmetic expression: 100 + True    :erlang.+(100, True)iex(2)> if 3, do: IO.puts("true")true:ok