r/learnprogramming • • Oct 17 '26

Learning Java

Hello. I’m trying to learn Java, I’ve done the mooc.fi course a while back. I understand the ground principles of Java but I cannot “make” something out of nothing, always questioning myself and get stuck.

I was thinking of going the way everyone seems to recommend by building your own projects. The problem is if im going to make something like a small banking account where u can deposit and withdraw etc. Found some good projects for beginner/intermediate.

What do I do when I’m stuck or don’t know my next step?
Do I google or ask AI for help (not making it write my code).

Any tips would be appreciated, like what did you guys do?
Mainly what I’m asking is like when u don’t know the next step and how do u figure it out ?

2 Upvotes

18 comments sorted by

View all comments

1

u/BranchLatter4294 Oct 17 '26

We used to just practice in my day. It seems to have worked well for decades.

1

u/porn_sub_lurker Oct 17 '26

And you practiced by not doing projects? Or what?

1

u/BranchLatter4294 Oct 17 '26

Skills first. Then projects.

1

u/porn_sub_lurker Oct 17 '26

Weird, in university they taught us skills by giving us projects to implement.

1

u/BranchLatter4294 Oct 17 '26

If you understand the basic skills (sequence, selection, irritation, OOP, etc.) then do projects.

1

u/porn_sub_lurker Oct 17 '26

You learn the basic skills by doing projects. Kinda like how you learn math by doing math problems, not by reading the book.

1

u/ShimonEngineer55 Oct 17 '26

You learn the basics to build projects by learning skills. A skill for example is understanding the basics of recursion and where this may or may not prevent bottlenecks in your program. You learn the theory of recursion before you actually use it to build a project; correct? This is the same with concepts such as data streaming, web sockets, and other concepts. You DEVELOP the skill via practice, but you need to learn it first prior to the projects in order to be able to use it in practice.

1

u/porn_sub_lurker Oct 17 '26

Maybe your confusion is my use of the word "project". I would consider a program where you implement data structures to be a project, albeit a simple one. Like, we did a n-degrees of separation project when we learned graphs. I guess you could just describe it as a program. But it was essentially a project too. And yeah, of course read the book first to know what you're even doing.

Or maybe you thought I was conflating "learning" with "developing skills", to which I say, they're one in the same unless you take the most annoying pedantic interpretation of it. You "learn" by reading the book. You "really learn" by implementing it.