MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/teqb37/static_bool_iscrazymurderingrobot_false/i0sp9aw/
r/ProgrammerHumor • u/speckz • Mar 15 '22
257 comments sorted by
View all comments
Show parent comment
1
But what if (bool? == true). It took me a hot minute to get used to this in kotlin
0 u/DaniilBSD Mar 15 '22 IMHO if you have == true, you either made a mistake or you are working with code written by someone who made a mistake 1 u/[deleted] Mar 16 '22 Or you're using kotlin, where it's standard practice with nullables
0
IMHO if you have == true, you either made a mistake or you are working with code written by someone who made a mistake
1 u/[deleted] Mar 16 '22 Or you're using kotlin, where it's standard practice with nullables
Or you're using kotlin, where it's standard practice with nullables
View all comments
Show parent comment
1
u/[deleted] Mar 15 '22
But what if (bool? == true). It took me a hot minute to get used to this in kotlin