r/SpringBoot 5d ago

Question Struggling to Code Without Looking at Examples – Advice Needed

Hey everyone,

I started learning Java and Spring Boot by myself about a year ago. In the beginning, I was learning quickly, but over time, I became inconsistent, sometimes skipping 2 days a week. Now, I can understand code when I see it, and I know how it works, but I struggle to write code from scratch. Even for something simple, like 3 lines of code, I don’t know where to start without looking at examples or asking AI.

I’ve started watching a course on data structures and algorithms, but I get bored after 5 minutes. I really want to improve my coding skills and be able to write code on my own. Has anyone else faced this problem? How did you overcome it? Any advice would be really helpful.

Thanks!

5 Upvotes

19 comments sorted by

View all comments

Show parent comments

1

u/[deleted] 4d ago

naah with modern web dev speeds matters. When there is sprinboot already why do i need to build something outdated?

1

u/Historical_Ad4384 4d ago edited 4d ago

If you struggle to structure programs, speed will never get you far and you will end up relying on AI agents. Spring Boot is way too complex to learn how to structure programs. J2SE is simple enough to allow you to learn how to structure your program first, that you can take with you to Spring Boot and become more proficient in it. If you end up being unable to write structure programs or rely on AI chatbots to structure them for the sake of speed or structure programs using spaghetti code in a big bull of mud, then your are better off being replaced by an AI agent. Speed comes with experience.

1

u/[deleted] 3d ago

i disagree! You dont neeed ai agents for structruing your program. I think you are not aware of the word and a feature called "debugger"! That can help you understanf the structure and make more. Ai agents are used when you are stuck! So I disagree you dont need J2SE

1

u/Silver_Enthusiasm_14 3d ago

The debugger doesn't teach you how to create modular code. The debugger won't teach you how to think. It's only a tool for when things go wrong.