DEV Community

Cover image for Twelve questions before any code
Joseph Soper for BezaCore Labs

Posted on Originally published at bezacore.com

Twelve questions before any code

We're building a product for small organizations, and its newest piece is a tracked list of work with approval steps. When someone asks for something, it's held until a person says yes, then handed to the people who'll see it through.

Before any of it was written, we settled twelve questions about how it should behave. We took them one at a time, each with its options, what each would cost, and a recommendation. Then the person who'll live with the product picked.

Why on paper first

Changing your mind on paper costs minutes. In code it costs days, and more once people depend on it. And the calls belong to the people who'll use the software, not to whoever builds it. A builder's guess at how a team works is still a guess.

Who may approve something

Anyone whose role lets them approve that kind of thing. Any one of them can decide, and the first answer stands. We set aside naming approvers one by one, because that list quietly goes empty when someone leaves. We also set aside letting whoever handles a request approve it, since then the people a request is meant for would be screening it themselves.

What happens when something sits too long

The same people get a reminder, and another each time it sits that long again, until someone acts. We set aside telling the administrators instead, doing both, and doing nothing for now. In a small organization, things wait on whoever is busiest, and a reminder to the right people fixes that without adding anyone new.

How a private request is protected

For now, only the people whose roles cover it can see it, and what it says stays out of every email and log. Full encryption, with every reading recorded, comes later, when it's built for the most private records. We set aside stopping at roles for good, and encrypting it now, which would have pulled the least-settled part of the whole product into this one. Good now and better later, chosen on purpose and written down so it isn't forgotten.

What happens when something fails behind the scenes

When a background job fails for good, like an email that keeps bouncing, it becomes an item on the same list, and a person marks it dealt with. Nothing fails without someone seeing it.

Then the code

With all twelve settled, the work went in as four pull requests, each one tried on a copy of the real setup before it went live. Nothing had to be rethought halfway, because the thinking was already done.

If you've got software coming and want the decisions made by the people who'll use it, tell us what you're working on.

Top comments (0)