Hacker News new | ask | show | jobs
by driver733 2374 days ago
I completely agree. I'll make that change soon.

Thanks for the feedback.

1 comments

Is the actual logic different in Java vs Kotlin examples?

In Java: when `nullableVariable` is not null and someMethodCall() return `false` then we return what `fallbackIfNullMethodCall()` returns right? and in Kotlin in that case we just return `false` from `someMethodCall()` because this is not null and `fallbackIfNullMethodCall()` is not even evaluated?