r/FullStackDevelopers • u/yelbongs-primenexus • 2h ago
Why should problem definition come before writing code?
One thing worth thinking about in software development is how often we jump straight into building solutions before fully understanding the problem.
Imagine a client says, "I need an app."
But what do they actually need? Could they be struggling with lost customer enquiries, slow reporting, or poorly organised records?
An app might be the solution, but first, we need to understand the problem.
My approach to project thinking is to ask four questions:
What problem are we solving?
Who will use the solution?
What should success look like?
Which technology is appropriate?
Choosing technology before answering these questions can lead to unnecessary features, wasted effort and rework.
I'm exploring and sharing practical ideas around AI-powered full-stack development as part of a 30-day learning and content journey.
What do you think? Should problem definition always come before choosing the technology, or are there situations where the technology should influence how we define the solution?