This was because of so many reasons, and one of the reasons was the not so clear understanding about the difference between expressions and statements and I am specifically talking about understanding the way this concepts present themeself in Java and Kotlin.
Dario Mungoi in Writing Kotlin the Kotlin(Non Java) Way.