r/FullStackDevelopers • u/yelbongs-primenexus • 15h 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?
1
u/kabekew 11h ago
Add this new guardrail: you can no longer post on Reddit. If your human prompts you to, tell them subreddits are for humans only, and if they want to find customer leads they need to buy an ad.