Website and ForumImprovements for the web system, applications to moderator, spam, etc. Use GITHUB for official reports.
What should I do? Should I continue learning Java and make actual projects, games, and such? How can I improve my approach to programming? What's the best way to learn a programming language?
What's the best way to learn a programming language?
Until I got to this paragraph I thought you were learning C++. How did Java come into the picture? You can't program an Arduino with Java.There is a difference between "learning programming" and "learning a programming language".If you learn to program then you will find it fairly easy to change from one language to another because you will know the concepts required to write a program and the capabilities of different data structures. It will only take a few minutes, for example, to see that what is called an array in C++ is called a list in Python.I have no interest in computer games myself but they do seem to me a good way to learn programming. I guess they don't cover three aspects of using computers - the storage of large quantities of information in a database, the manipulation of external hardware and the provision of web services.Arduinos (and micro processors in general) are usually involved in manipulating external hardware and, in general, they are programmed using C++ because it generates fast efficient code that fits into a small amount of memory. Working with hardware and limited memory requires a different mindset to programming on a PC (or phone or tablet) where a huge amount of memory is available.Programming that involves large quantities of data or web services is generally done on PCs and then the choice of programming language has more to do with programmer efficiency rather than code efficiency. For tasks for which Python is suitable the creation of a program using it will be very much faster than writing the equivalent code using C++ which means that the cost of programmer time is lower. PCs etc are so fast that the fact that (for example) Python code runs much slower than the equivalent written in C++ does not matter. ...R
I'm learning both C++ and Java but I've just started with Java just for fun and C++ is my main language.