Y
Hacker News
new
|
ask
|
show
|
jobs
by
koenigdavidmj
5216 days ago
In Java, it's a compile error to pass something not of type `bool' into that expression, so things like
if (someBoolean)
Are unambiguous.
1 comments
biot
5216 days ago
True. I suppose this is more of a holdover from my C programming days.
link