News for hackers. Stuff that matters.
Re:A Not-Called Function Can Cause a 5X Slowdown by Retric on Tuesday December 04, 2018 @11:17AM (#18600751)
Animations that change colors within a narrow range are fine, moving UI elements around is a huge anti pattern that annoys users without any benifits.

It’s the same issue as flat buttons, users need to know what’s clickable, and what has been clicked. They don’t need shading etc, but feedback has masssive utility. Sadly, our field generally lacks the kind of real feedback that corrects such incompetence.

Re:A Not-Called Function Can Cause a 5X Slowdown by phailhaus on Tuesday December 04, 2018 @06:07PM (#18604343)
> moving UI elements around is a huge anti pattern that annoys users without any benifits.

Still disagree, and I think you're thinking of really obnoxious examples. I'm imagining about a ~150ms animation for the following:

1. A sidebar sliding out from the side

2. Dialogs swooping in and out from the top of the screen

3. Form panes sliding out when replaced

These quick, almost-no-time visual cues are incredibly important at giving your interface a sense of presence and physicality. Without them, your UI elements are flickering in and out of existence without any perceivable reason, and can often leave the user wondering what changed.

Re:A Not-Called Function Can Cause a 5X Slowdown by Retric on Wednesday December 05, 2018 @07:34AM (#18607646)
That still just adds perceived lag to the system slowing people down as you can’t read something that’s not yet rendered or sliding around that quickly. 150ms adds up.

“Why did this get so slow?” Is a real and common complaint with such changes and why OS’s allow people do disable so many animations.

Re:A Not-Called Function Can Cause a 5X Slowdown by phailhaus on Wednesday December 05, 2018 @10:23AM (#18608985)
The "why did it get slow" complaints happen when the animations aren't fast enough. The brain doesn't need a lot of time to register motion, but many times designers will use a slow and laborious animation to really emphasize something appearing. See Google's material design: it is based on the philosophy that interfaces should behave physically, and you'll see that it feels incredibly snappy.

Check out these demos: https://material.io/design/motion/speed.html

Example: you can't effectively convey a menu becoming a button without an animation. Without an animation, the menu disappears and a button appears, but there's no reason to believe that they're related. A 100ms tween from one to the other is all you need. Our brains are very good at relating motion, not objects blinking in and out of existence.

Re:A Not-Called Function Can Cause a 5X Slowdown by Retric on Wednesday December 05, 2018 @10:53AM (#18609344)
100ms * even a minimal 20 actions per minute = 16 minutes wasted in an 8 hour work day.

Remember, those 100ms delay gaining information which also delays every action that happens after them. So, the cost is real.

Worse, people can break 200 actions per minute for well known systems. Which makes this far worse as it’s slowing people down more as they try and get more done.