State the problem not the solution

submited by
Style Pass
2024-07-04 12:30:33

We've had a request come in from a customer on our Discord chat to style their soft-deleted records differently than the regular ones.

Their first idea was to add a new option to Avo to enable that. They even tried to monkey-patch our code to achieve that. It's a "fair" strategy, we're not judging.

Our impression was to add a new option too, but in the end we found a better solution. Something that doesn't involve monke-patching or us adding new code to the framework. New code that we should maintain in the future and bring on more and more requests.

Instead of suggesting a solution to the problem, you should state the problem and the thing that you're trying to do/fix. That might give us the "space" to find the most appropriate solution to the problem.

When you come with a solution, our brains automatically try to validate that solution and feel "trapped" in that box of thinking.

Leave a Comment