Zarar's blog

Small Batch Thinking in UX Improves Usability and Code Quality

UX is hard but it becomes easier if you eat enough of your own dogfood. For the last few months I've had most of my forms look like the one below, i.e., present all the fields for editing and have one big submit button at the bottom:

submit-all-fields-at-same-time

This was a logical place to start but as the number of fields started growing I realized a few issues:

To address the above I switched over to saving fields individually:

in-line-edit

This addresses the UX issues as you're saving one field at a time and get instant feedback on whether something worked before moving onto the next step. It also makes the code/design clean:

The main negative is the overhead of Edit/Save on multiple fields, so overall number of clicks have increased if a user is saving more than one field. However, The time they spend on the edit screen has reduced and failed validations have decreased.

I like how applying the lean concept of small batches to UX had a direct impact on software design and quality. The cherry on top is that the Edit/Save overhead seems to be negligible, which is another proof point that smaller batches, despite having higher overhead, lead to higher throughput since people are getting their tasks done faster (Little's Law).

Subscribe to my blog


There's also the RSS feed.

#clean code #ux