I would just generally stay away from anything that wasn’t typed language. I’ve been there and don’t like it. But when I have to I have enough experience to see where the pitfalls are.
I deal with a legacy system where one of the previous programmers really liked text string booleans. My isTrue tests for true, "true", 1, "1", "yes", and "on".
View all comments
Show parent comment
75
u/AdultishRaktajino Mar 15 '22
I pity da fool who doesn't trust a bool to be a bool. Unless it's not a type safe language.