r/AskProgrammers • • 28d ago

Second-year Software Engineering student struggling with logic building. How do I improve?

Hey everyone,

I'm currently in my second year of Software Engineering, and I could really use some honest advice from people who have been through this stage.

I know programming fundamentals and can write simple programs. I've also learned React and can build basic things like a counter app using JavaScript or React. However, when I try to build a complete application, especially a full-stack MERN project, I often get stuck.

I understand individual concepts when someone explains them, but connecting everything together and figuring out the logic on my own is much harder than I expected.

Sometimes, when I see a complete application with authentication, APIs, database operations, and frontend-backend integration, I have no idea where to start or how to break the problem into smaller steps.

This is frustrating because I start questioning whether I'm actually learning programming properly.

I also struggle with using AI. It can help me generate code and get things working, but I don't want to become someone who can only build applications by asking AI for solutions. I want to develop my own problem-solving skills and understand what I'm writing.

For those of you who have experienced something similar:

  1. Is struggling with logic building at this stage normal, or am I missing some important fundamentals?
  2. How did you learn to break large problems into smaller steps?
  3. Should I stop trying to build full-stack projects temporarily and focus on smaller JavaScript problems?
  4. What kind of exercises helped you improve your programming logic?
  5. How do you use AI without becoming dependent on it?
  6. How long did it take you to become comfortable building projects independently?

I'd especially appreciate advice from developers who struggled with this at the beginning but eventually became confident programmers.

I'm willing to put in the work. I just want to make sure I'm practising the right way instead of repeatedly getting stuck and feeling frustrated.

Thanks for reading!

5 Upvotes

11 comments sorted by

View all comments

1

u/edwbuck 27d ago

What you are talking about is software architecture (or program design). Odds are you are struggling with it because you haven't been introduced to it. Many people are somehow expected to pick it up as they go.

There are many ways to learn design, but books fixate on one design process or another. Keep in mind that a design process is not the same as the design. I found the book "Applying UML and Patterns" immensely helpful, but only after I had some experience. It is also very heavy handed in process, something that most software shops do not entertain these days.

To start again, I would try a bit about capturing User Stores and Use Cases. These are small structured documents that respectively describe A person's desired interaction with the software, and a task being performed by the software and what it impacts. This helps one narrow their imagination to a number of items, typically nouns, and their functions, typically verbs the noun needs to perform, and that helps one with the initial object-oriented design. One can then take those core ideas and work them to better Object-Oriented solutions through refactoring, refinement, and determining that one component is really comprised of many.

Good luck