For casual computer users, that animation/delay is the difference between “oh no, what just happened?!” and “oh, that button sucks this window down into the taskbar picture where I can easily find it later. Cool.”
You want the window to just vanish (which I get), because you have a model of computing that doesn’t need the genie animation. Most everyone on HN has a model of computers far in excess of the median computer user.
Interesting. I could have sworn in older macOS that it could be disabled entirely. In Ventura, via settings, I can adjust it from taking 11 frames, 23, or 29 frames (manually counted in a screen recording), but I can't seem to completely eliminate the animation. TIL.