Easiest way to learn a language.

  • Thread starter Docscientist
  • Start date
  • Tags
    Language
In summary: Java, and these are some of the best I have come across, which I have used to learn other languages. Although you'll have to spend some money, it will be worth in the end. In summary, if you want to learn Java, you have to invest some time, money and discipline to get there. Deitel's book, Oracle's documentation and Coursera's online courses are a great start. In summary, To learn Java, it is recommended to start with a good book like Deitel's, then move on to online courses like those on Coursera, and use resources like Oracle's documentation to supplement your learning. It is important to approach learning Java with discipline and patience, and to focus
  • #1
Docscientist
101
11
I'm stuck with a problem.I wanted to learn Java.I learned C language during my middle school days and I found it interesting(Only my teacher was not so good) I managed to learn some concepts.I planned to learn this whole Java during my summer vacation.The vacation has arrived but I still struggle to understand many commands.I made use of this website "www.w3schools.com".and watched many videos.But still I can't get few things.Can someone suggest me a good way of learning this language ?
 
Technology news on Phys.org
  • #2
Get the Processing IDE and learn by doing. Processing has many examples and there are a few books that start with very basic java in processing.

www.processing.org

The notion in Processing is to learn java by drawing things graphically like interactive art. You can change the code and run it immediately. You don't need a lot to get started.

https://processing.org/examples/continuouslines.html
 
  • Like
Likes Docscientist
  • #3
Docscientist said:
I'm stuck with a problem.I wanted to learn Java.I learned C language during my middle school days and I found it interesting(Only my teacher was not so good) I managed to learn some concepts.I planned to learn this whole Java during my summer vacation.The vacation has arrived but I still struggle to understand many commands.I made use of this website "www.w3schools.com".and watched many videos.But still I can't get few things.Can someone suggest me a good way of learning this language ?
The www.w3schools.com site has tutorials on JavaScript, but nothing on Java, which is a different language. Rather than looking at a bunch of unfocussed videos, I think it would be better to get a book on Java programming, and work through it. If there are sections that you find difficult, you could then look for videos that deal with the keyword or concept that you find difficult. I'm sure there are lots of Java books on Amazon, many of which have reviews from the people who bought them, so you could get an idea of how helpful (or not) a book is before you buy it.
 
  • #6
Find a good website with programmers who do the language you're interested in. Focus on just one system development environment - whatever they recommend - once you learn one the rest are easy. Grab every snippet of code available and get it to work - don't worry too much about why it works. Ask plenty of dumb questions, but be respectful or they'll ignore you. Otherwise they love to help beginners. Make sure you hop on any advice, especially when it's good advice. Get code you're interested in and play with it - you'll pick up how it works. Use books and courses as necessary to get you up to speed, but as soon as you can, get in with a good community of experts, and imitate them.
 
  • Like
Likes Tom.G
  • #7
secur said:
Find a good website with programmers who do the language you're interested in. Focus on just one system development environment - whatever they recommend - once you learn one the rest are easy. Grab every snippet of code available and get it to work - don't worry too much about why it works. Ask plenty of dumb questions, but be respectful or they'll ignore you. Otherwise they love to help beginners. Make sure you hop on any advice, especially when it's good advice. Get code you're interested in and play with it - you'll pick up how it works. Use books and courses as necessary to get you up to speed, but as soon as you can, get in with a good community of experts, and imitate them.

I whole-heartedly concur! Get some code and figure out how it does what it does.
 
  • #8
There is no real "easy" way to learn a programming language. Experience has shown that the "easy" way, turns out to be the longest and hardest. So, you have to go by "first things first". I've worked with C and Java for many years, and what I do recommend, is starting simple by not depending on any particular IDE. A simple editor will do the trick. This is the old way of learning, but it always works well: in order to learn the nuts and bolts and the quirks of a language - Java in your case, buy a good book and start working with the concepts. I highly recommend Deitel's book https://www.amazon.com/dp/0133807800/?tag=pfamazon01-20 - I have used Deitel books for years in C, C++, Java, Web programming. What they basically teach you is a very disciplined approach and learn things in the right order, with lots of insights, hints, exercises and problems and some projects to work on. Their site is also excellent. It may be somewhat frustrating in the beginning to use it for self study, but if you want to really learn, you can do it - I used it this way too, in parallel with my programming course. For Java, besides the procedural programming inherited from C that is fairly easy to learn and apply, object oriented design and implementation, is what matters to you most. I recommend the "Early Objects" approach. The object oriented way of development, is not something you can learn in an overnight fashion: you have to learn how to think that way. There is plenty of books and resources on the web for this. So, you have to be patient and concentrated in this regard. After a while you can start using an IDE - I recommend Eclipse but I have worked with many others along the way, it's really up to you as long it is well supported and has a big community. Oracle documentation is an invaluable resource for your specific needs, but you need some time to learn to use it effectively. There are lots of other good books for Java programming as well: having learned the basics, you can judge it yourself. It would be of much help if you could take an online course for learning Java as well: Coursera, edx and online courses offered by many universities all over the world, are all good places to take a look at, but personal study through a good book is not something to be bypassed this way but to be done in tandem.
A very important thing in my opinion, is to learn to analyze code, as early as possible. This can be done, if you try to write code yourself to solve programming problems that become gradually more difficult (with little or no help), and see the code of other people and try to figure out what it does and why does it this way. Asking the opinion of more experienced programmers is always a good thing and you must do it on every occasion and in every available way.
As a final comment I have to tell that to really master a programming language needs much time - whole years, and effort, but if you start the right way and proceed in a diligent manner, you'll create a strong cornerstone to proceed further.
 
Last edited by a moderator:

Related to Easiest way to learn a language.

1. What is the easiest way to learn a language?

The easiest way to learn a language varies from person to person, but some common methods include immersion, using language learning apps or software, practicing with a native speaker, and taking a class.

2. How long does it take to learn a language?

The time it takes to learn a language depends on various factors such as the language itself, the learner's dedication and motivation, and their previous knowledge of related languages. On average, it can take anywhere from 600-2200 hours to reach proficiency in a new language.

3. Is it better to learn a language through self-study or with a teacher?

Both self-study and learning with a teacher have their advantages. Self-study allows for flexibility and personalized learning, while a teacher can provide structure and guidance. It ultimately depends on the learner's preference and learning style.

4. What are some effective strategies for learning a language?

Some effective strategies for learning a language include practicing regularly, immersing oneself in the language and culture, using various resources such as textbooks, apps, and media, and setting achievable goals.

5. How can I stay motivated while learning a language?

Learning a language can be challenging and it's common to lose motivation. To stay motivated, try setting small, achievable goals, find a language learning partner or community, and remind yourself of the benefits of learning a new language, such as increased job opportunities and cultural understanding.

Similar threads

  • Programming and Computer Science
Replies
11
Views
2K
  • STEM Career Guidance
Replies
3
Views
2K
  • Programming and Computer Science
Replies
13
Views
3K
  • Programming and Computer Science
Replies
6
Views
3K
  • STEM Career Guidance
Replies
10
Views
2K
  • Programming and Computer Science
Replies
10
Views
3K
  • Programming and Computer Science
Replies
8
Views
4K
Replies
2
Views
1K
  • STEM Academic Advising
Replies
11
Views
2K
Back
Top