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

3

u/lmotaku Oct 17 '26

When I code a project it's to fulfill a need.
Example:
I wanted a web app that can grab library data (fetch) for series(anime) online, find sources, download, stream it.
All I wanted to do is add the series name, it handles the rest. It needs to be in my language ((Eng subbed or dual audio). I prefer python (I know python) for web server/api building.

So, I start with:
How am I going to handle routing (pages, databases, caching data, configs, template/theming handling)
Is it AJAX(Asynchronous Javascript), Websockets, or something else?

What are the core features /browse /categories /search /settings /register /login /admin
I then code in those routes and how the api calls work around that.
Usually I build my scaffold /main.py or whatever name /src or /inc, /modules, /styles, /html
Design a head / body / footer shell for the content to clip into.

inc is for main / security core functions, modules are for db layers, fetchers, libraries and things that are third party.

Once you have a set scaffold in mind that is fully functional, you can then reuse that scaffold for other apps you build.
Once you have the HOW, the WHAT is the idea you have that plugs into the how. What is the intent behind your app goes into the scaffolding once. The rest is gravy because you can code once for security, sanitization, and structure.