I would take a project you've implemented in Python and try converting it to Java. Since you already know basic programming fundamentals, it'll probably be easier if you take things you know how to do and figure out how you'd do the same sort of operations in Java (or whatever new language you want to learn).
In the end, the only way to learn to write code, is to write more code.
Answer from Erich Douglass on Stack OverflowI would take a project you've implemented in Python and try converting it to Java. Since you already know basic programming fundamentals, it'll probably be easier if you take things you know how to do and figure out how you'd do the same sort of operations in Java (or whatever new language you want to learn).
In the end, the only way to learn to write code, is to write more code.
Java and C# will be less of a step away from Python than would C or C++ because Java, C#, and Python all have automatic memory management. A good Java book is Thinking in Java by Bruce Eckel. It starts at an introductory level, but also has a lot of depth.
The big difference with the language coming from Python is the fact that all variables are typed. The other hard thing with Java has to do with the bewildering array of Java APIs out there. The fact that you are interested in Android is an advantage here. After becoming comfortable with the core language, I suggest you start learning the Android API and focus on becoming an Android expert. I think Android will be a growing market for a while.
Good luck!
Hello people, I am looking to learn a programming language during the summer before college. The classes I'll be taking at univerisity uses Java. However, I've been trying to learn Python on my own for around two weeks using Automate the Boring stuff and Code academy. So I am still a noob. However, I've read some posts where people say learning Java as a first language will be much better than learning Python as a first language because it is easier to transfer from Java to Python but not the other way around. Now I am conflicted in which language I should devote myself to for the rest of the summer. Please give some advice. Thanks!
Edit: Thanks to everyone who replied and who tried to help. So some said that Python allows you to skip the useless code which therefore allows you to focus more on the concepts. While some said that Java forces you to explicitly write out all the steps which teaches you more on the fundamentals. Although I will eventually be learning Python as I am interested in Machine Learning/AI I think I will be learning Java for the rest of summer until university starts simply because of the fact my classes uses Java so I was think about getting a slight head start. Once again, thank you to everyone who helped.
Videos
I have been learning python for a year and I think I can code in python! I just need to work on projects to advance my skills. Lately I have been thinking to learn Java...so I took advice from my friends. They said I will have tough time learning Java because I have learned python before. They said I should have learned Java first and python later... maybe I messed up 😅😅
Is it true? Will it really be that difficult?😩
Python is my first language and I am thinking of learning Java now. Can I?! Please share your opinions
Thanks in advance 🤗🤗
I just started a class today and found out i will be learning Python, how easy is it to transfer my skills into modding minecraft, Assuming I do well and actually learn to code in Python?
Note: I have never coded before, sorry if this is a noob question.
Every programming language you learn makes it easier to learn the next one.
Once you know how to program in general (for example in Python), IMO Java is fairly easy to learn. I came into Minecraft modding from mostly C background (and I'd say something like mediocre level or whatever, nothing close to an expert), plus some bash/PHP for hobby projects. I started modding/learning Java by reading through most of the official docs by Oracle, and then mostly just diving in and reading through tons and tons and tons of vanilla, Forge and other mods' code and figuring things out as I went.
As to Minecraft modding itself, I'd suggest reading through the official Forge documentation and then some up-to-date tutorials to get the hang of some basic concepts. After that, I'd suggest reading open/visible source mods' code to see how specific things can be implemented, ie. think of a feature that you'd like to implement or something that is close to what you want, then think of a mod (or something in vanilla) that has something similar, and see how they did it, and whether or not you can think of a better way to implement what you need.
I am about to join college in 1 month and will be starting my coding journey. On most youtube videos people say that beginners should start with either java or python.
I like Ai stuff and that is mostly done by python (acc to what I found on the internet) but then Java is for mostly opensource and development( again acc to internet). Open source and development seems like more leaning towards better placements but then python seems easy and most Ai and ml is going on python.
I'm very confused right now, I wanna be able to build some good stuff with either language, but starting out is just overwhelming. No idea where to start.
Edit 1: I have kind of decided to start with Java and my college with probably start with C language so I'll try that in the 1 month I have left.