8
Tahaga
7y

Question here - what do you guys think of Kotlin?
Do you also think it'll be sufficient to learn Kotlin and not java to programm for Android?

I just began the transition, it's fun playing around with it, but a friend of mine wants to learn Kotlin to learn Android programming (and not java, he only has java basics).

What's your opinion on all this?

Comments
  • 2
    📌
  • 7
    Kotlin is built to replace java. A strong understanding of java will help alot in understanding kotlin and most of the courses expect you to learn the Object Oriented concepts from java to get an easy transition and learning curve in Kotlin.
    Its not necessary but yes it'll help alot.
  • 2
    @htlr so, let's say you know c#, and have a good understanding of object orientated programming, you could skip java and go for kotlin?
  • 1
    @htlr okay, thanks, so you confirm what I was thinking! The syntax is so pleasing, it's compatible with all (or almost) java libraries, guess it's the way to go today since it'll probably be used a lot in the future!
  • 0
    Maybe it's just me but I have this weird hungup with any languages where I don't explicitly declare the type

    Give me int,Integer,u_int16 etc

    And I'm good

    But wtf is this Val shit.
  • 0
    @orto gives me nightmares of infinite b.s js errors
  • 2
    I would not say it is strictly necessary, but it helps a lot. Specially considering that in most frameworks where Java is used...well....you will get Java documentation. So knowing how to detect how certain content translates to Kotlin is nothing but useful, thus I say learn both. Honestly tho, it seems to me sometimes that the people that diss Java the most are those that got discouraged by hello world, saw how it was done in Python and went with the fuck Java bandwaggon.
  • 1
    @marthulu If you are familiar with OOP and some of the best practices in java or C# will help ya alot. Its just a catalyst, you can always climb up in Kotlin with a steady phase but trust me knowing java or any other OOP languages will accelerate and make kotlin much more fun.
  • 1
    @orto wasn't it also a little bit weird (in the midst of all the excitement) when we learned our first programming language? It's something new and exciting again! It should feel weird and wrong in the first place.

    It's just declaration syntax, that puts the mutability in focus instead of the type.
  • 1
    @wtho when I learned programming it was as if someone was teaching me a language I never new I spoke.

    And then I met python and js and my entire world broke.

    I do find it cool though and will most likely learn it and love it as much as much as I do c++ and java .
  • 1
    "Learn whatever tha phuq you want!"

    -Someone
  • 1
    @Cyanide seems legit
Add Comment