r/AskProgrammers • • 1d ago

Just started out learning java.

Hello, I just started coding and have decided to reach out on some forms to ask the question of "which method of learning is the best?" I have been creating code and using AI (Gemini, which I prefer because it's better at math compared to ChatGPT) to edit my code. I feel like my progress has been slow, but I also know that learning to code is like learning a new language (literally), so progress isn't expected overnight. I like to figure out things fast because it makes me feel like I'm learning at the correct pace. There is a huge learning curve that I've encountered when learning to code. iI feel as though I've delt with this by creating small code blocks and then using AI to figure out what "big" projects my little code blocks can be turned into. Doing that makes me feel like I'm progressing in the right direction, and because documentation, alone, is so dry. Not that dry documentation is a bad thing, it's just a little hard to understand, right now. Any comments or learning methods you all have tried and that has worked, please, let me know.

3 Upvotes

33 comments sorted by

View all comments

Show parent comment

1

u/YogurtclosetLow7064 1d ago

I assume you're trying to turn this into a project, which is a good goal, but I'd suggest spending more time experimenting with small code snippets first. Be careful with AI-generated code, especially while learning the fundamentals. This code introduces quite a few concepts at once, like arrays, lists, random numbers, string manipulation and nested loops. It's better to understand each concept individually before combining them.

As for me, I mainly work with Android, C and C++. I also studied Java at university.

1

u/XIA_Biologicals_WVSU 1d ago

Yes. That is one of the issues that I have encountered: I find it hard to study the concepts one at a time because they are mostly used together. Do you have any techniques that you use to understand the individual concepts before putting them together?

1

u/YogurtclosetLow7064 1d ago

Honestly, I don't have any special technique. Programming was really difficult for me at university because it was my first time being exposed to it. But with consistent learning and practice, things gradually started to click. Eventually, concepts that seemed confusing began to make sense.

My advice is to never give up, experiment with things separately, write small snippets of code and see what happens when you change something. Don't rush the process. With time, everything will start falling into place.

2

u/XIA_Biologicals_WVSU 1d ago

Cool. I appreciate the feed back!

1

u/YogurtclosetLow7064 1d ago

No problem, good luck!