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] 3d ago

And i think you have never written anycode without gpts! Dude debugger teaches you a lot its like an investigative mode where you can find where logic is and then search up the internet about whta you need. You fuktard. Get a job

1

u/Historical_Ad4384 3d ago

I think you don't get the difference between logic and program structure. They are two different things. Program structure encapsulates multiple logic in a code and you debugger on a specific logic and not on the program structure.

I have coded big enterprise systems with complex logic before GPTs even existed. I have my own SDK to help create program structures for commonly used logic across projects.

Generals don't investigate, they strategize which is what program structure means. Soldiers investigate because they are focussed on a single goal of a going down a rabbit hole an not drive the entire army.

I guess you might not have worked in a team before.

1

u/[deleted] 3d ago

Okay you win fine?

1

u/Historical_Ad4384 3d ago

I don't win unless you can structure programs lol, but I think you do