DEV Community

Discussion on: First look at Kotlin - my first pains

Collapse
 
jgarin profile image
j-garin

You should feel bad about yourself, sir. There is an option to generate class as well as just a file. You need to be more attentive when reading. Also intellij can add Kotlin to your build.gradle automatically with kotlin plugin installed. None of the mentioned issues are related to the language or the platform itself. If i were you I'd delete this post. Kotlin is a language you can learn in a week or two. But blaming the language after investing only an hour or two into it is ridiculous.

Collapse
 
joaofbantunes profile image
João Antunes

I appreciate the comment, but I fail to understand where did I blame the language/platform for the problems.

Maybe a valid criticism to the post is that I should maybe make it clearer that the problems are due to my lack of knowledge on the subject (or attention as you assume), not problems of the language/platform.

They sure were "where am I missing a semicolon?" kind of problems, but those happen too, be it for lack of knowledge or attention, so I'd argue the post remains relevant, for as little as it may be.

Collapse
 
jgarin profile image
j-garin

You don't use semicolons in Kotlin most of the time)) it's a simple and fun language. Once you go Kotlin, you can never go back to Java. Take your time to read through the docs to set up the ide and read this for a swift start: Kotlin in action.

Thread Thread
 
joaofbantunes profile image
João Antunes

The semicolon example was just a generic problem programmers encounter (won't say once or twice in they're lifetime, but something of the sort), was not talking about Kotlin specifically.

But like I said, the post wasn't meant to bash on Kotlin or Gradle, just to describe a couple of problems I had (yes, my fault) and I'm pretty sure I wasn't the first nor will be the last to face.

Thanks for the feedback!

Thread Thread
 
joaofbantunes profile image
João Antunes

Now that I think of it, maybe "where am I missing the curly brace?" would have been a better example, but I think it takes the point across anyway 🙂