4

Best tips when switching from C# to Java?

Comments
  • 6
    Don't!
    Jokes aside, If you don't have to AND it's for Android go with Kotlin

    Java is nice but things are not done in a clean way like in C#, for example lambda expressions.
    I only tried it in Java 1.8 not sure how it is now but tbh in C# same code took 4 lines while in Java on hell of a mess.

    It was about searching content of folder (and subs) for a specific name.

    I'm no Java pro don't take my word but in the case of Android using Kotlin did reduce amount if code to write
  • 6
  • 3
  • 3
  • 0
    java just dig it's grave with the new versioning and support terms
  • 0
    @coffeeholic I read about it not sure if I understood it correctly, but what I understood is Oracle will now charge a fee for upgrades if used by companies? or commercial products?
  • 1
  • 0
    @brano88 can you explain more because the one I read gave me one conclusion and that is Java from Oracle to be paid while openJDK is the best alternative right now. I'm sure Oracle won't just throw a fee out of a sudden but to what are they going to charge?
  • 1
    Remember that java dosent have dynamic type, good intelisense(well it depends it sometimes has in eclipse) and the nuget.

    I have used eclipse before and it is decent in my opinion.

    Good luck!
Add Comment