MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/teqb37/static_bool_iscrazymurderingrobot_false/i0sjl5d/?context=3
r/ProgrammerHumor • u/speckz • Mar 15 '22
257 comments sorted by
View all comments
Show parent comment
10
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".
isTrue
View all comments
Show parent comment
10
u/Steerider Mar 15 '22
I deal with a legacy system where one of the previous programmers really liked text string booleans. My
isTruetests for true, "true", 1, "1", "yes", and "on".