Join Slack
Powered by
I know that some people complain that they see `if...
# random
j
Jason5lee
12/26/2021, 2:23 PM
I know that some people complain that they see
if (x == true) { … }
in their code. But in Kotlin if
x
is
Boolean?
it’s neccessary.
y
Youssef Shoaib [MOD]
12/26/2021, 5:20 PM
yeah and I think that's the idiomatic way to do it according to Intellij
👍 1
Youssef Shoaib [MOD]
12/26/2021, 5:20 PM
There was a r/ProgrammingHumor meme about that a while ago and Kotlin came up lol
4
Views
Open in Slack
Previous
Next