Hardest Problem in Computer Science: Centering Things
Hardest Problem in Computer Science: Centering Things
Somehow we forgot how to center rectangles and must find our way back
![Hardest Problem in Computer Science: Centering Things](https://lemmy.world/pictrs/image/55f29540-eb47-4bbf-9246-b384874ad8b1.png?format=webp&thumbnail=256)
You're viewing a single thread.
Centering things is a graphic design problem, not a computer science problem.
31 2 ReplyAs a computer science problem it ends at position = window center / 2 - object width / 2
15 0 ReplyIs not always this simple though. If the window has yet to be spawned in some languages the width will be unavailable, until after. Sometimes the window can be seen before it moves to the center which is a bit jarring.
1 1 Reply
That's a pretty good summary of the article actually.
The design is bad because the people who made the tools are doing a bad job.
2 0 ReplyThe hardest graphic design problem is indıcatıng sarcasm in a way only autıstıc people notice.
Edit: this was sarcasm, and so is the artıcle's tıtle.
1 4 Reply