r/learnjava • u/OniDevStudio • May 20 '24
Is it worth learning Kotlin?
If I'm learning Java only for desktop and game development, is it worth learning Kotlin?
6
u/UpsytoO May 20 '24
Kotlin is used in android apps and it wouldn't be desktop, if you want game dev stuff, it would be android, neither of those are common in PC game development, not saying not used at all, but uncommon, so for personal use to play around of course, if you are looking for something more in the future, bad idea, unless you are interested in android imo.
6
u/LTFGamut May 20 '24
absolutely. Kotlin is used in a lot of application backends, especially in combination with Spring or Quarkus.
2
u/darkwyrm42 May 20 '24
I'd highly recommend it. Kotlin's great on the desktop. You still need to know Java to understand the nuances of all the places where Kotlin touches the Java standard library, but I think I'm more productive with the former than the latter.
1
u/Skiamakhos May 20 '24
You should learn every language that takes your fancy. It might give you new insights as to how you prefer to program. To be fair, anything that's really good we tend to get in Java within a year or two anyway but sure, learn all the JVM languages. Learn Clojure too, and the BEAM languages, Erlang and Elixir. The broader your range the more flexible your thinking might become. Dave Thomas recommended learning a new language every month iirc.
1
May 20 '24
It's always worth learning other languages.
Just be careful about saying the "K" word in /r/java. Apparently that might get you banned.
0
u/AutoModerator May 20 '24
It seems that you are looking for resources for learning Java.
In our sidebar ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses.
To make it easier for you, the recommendations are posted right here:
MOOC Java Programming from the University of Helsinki
accompanying site CaveOfProgramming
accompanying site NewThinkTank
Hyperskill is a fairly new resource from Jetbrains (the maker of IntelliJ)
Also, don't forget to look at:
If you are looking for learning resources for Data Structures and Algorithms, look into:
"Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University
Coursera course:
Coursebook
Your post remains visible. There is nothing you need to do.
I am a bot and this message was triggered by keywords like "learn", "learning", "course" in the title of your post.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
•
u/AutoModerator May 20 '24
Please ensure that:
Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
You include any and all error messages in full - best also formatted as code block
You ask clear questions
You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.
If any of the above points is not met, your post can and will be removed without further warning.
Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.
Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.
Code blocks look like this:
You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.
If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.
To potential helpers
Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.