6 ms·
I want to support the "what about debouncing" argument mentioned elsewhere; the author shouldn't just ignore this. But I also hate the "you had one job" meme a
by CWuestefeld 2mo ago
I want to support the "what about debouncing" argument mentioned elsewhere; the author shouldn't just ignore this.
But I also hate the "you had one job" meme and want to argue against its mindless usage. Most of the time, when people do the "you had one job" thing, it's false. And that's true most of the time in the case of buttons, too. In a typical user interface, a given button has some combination of these jobs:
* Communicate what action will occur should the button be pushed.
* (Sometimes) communicate the current status of some aspect of the system (e.g., often a button is used to enable/disable a mode, and the button itself visually conveys what the current mode is).
* Execute the intended action upon clicking.
* (Sometimes) communicate that the command has been received and is being executed (e.g., in the OP, the button might disable itself while animating the rotation in order to avoid the confusion the OP complains of).
- mathgeek 2mo agoYour points are good ones, especially since they emphasize that different people have different expectations of what a "button" is and isn't. Your points individually describe a button with a label, one with a toggle, an actual button, and a progress indicator. All of those things can be "buttons" depending on the user.
- deleted 2mo ago[deleted]
- functionmouse 2mo ago> what about debouncing activate button function on touch release instead of touch down?
- nsyne 2mo agoanecdotally that feels so much worse and sluggish
- functionmouse 2mo agoIt's almost certainly how all the button elements on your phone and computer currently work... Keyboard, homescreen, hamburger menus, links, you name it.
- notatoad 2mo ago>But I also hate the "you had one job" meme and want to argue against its mindless usage the "you had one job" meme could pretty much always be followed up by "because i refused to consider the actual complexity of your job"