Re:Elixir and Phoenix can do it all
by aarbor989 on Sunday October 29, 2023 @01:40PM
(#38060861)
But on the flip side you can also do "if my_var", which will evaluate to true for any non-nil value and non-false value
[ Parent
| on HN ]
Re:Elixir and Phoenix can do it all
by sodapopcan on Sunday October 29, 2023 @02:42PM
(#38061364)
Is that a common source of typing errors? Genuinely wondering as I don't have a whole lot of experience with statically typed languages. I've personally never had a bug related to it.
I wasn't meaning to imply everything is perfect, though. For example equality operators take anything. I believe there may be changes coming around there.