[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to read an integer from the minibuffer

From: tomas
Subject: Re: How to read an integer from the minibuffer
Date: Sat, 13 Nov 2021 09:43:24 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Nov 13, 2021 at 07:59:49AM +0100, Marcin Borkowski wrote:

> There are lots of examples out there of form controls trying to
> prevent the user from entering invalid data, and they demonstrate many
> things you can get wrong while implementing one.

I tend to call this "authoritarian software" and I think
it is one of the most preposterous blights our trade has
to offer.

I mean -- the programmers assuming they're smarter than
me, the user, is already somewhat arrogant. But assuming
/their program/ is smarter than their users is downright

Now I konw this happens unintentionally (or with the best
of intentions), and it takes some work to "get out" of this
mindset ("don't let the user make /any/ mistake whatsoever").

What does help me, sometimes, is to turn around things and,
for example, consider "let the user make mistakes, but make
it so that they are recoverable".

And, most important: respect your users. Assume they know
best what's good for them, and if, in some situation, you
have evidence to the contrary, help them to find out instead
of telling them.

Usually, this leads to more enjoyable UIs.

 - t

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]