this post was submitted on 28 Dec 2023
1470 points (99.3% liked)
Programmer Humor
19623 readers
1 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
even if it's just mobile
you already have to handle landscape/portrait mode
now imagine having to handle angled
That's why you should've just handled arbitrary rotations instead of inventing a finite predefined set of orientation "modes" in the first place.
Things get a lot easier in the long run if you aggressively look for commonalities and genericize the code that handles them instead of writing bunches of one-off special cases.
And this is why my webapp only renders properly on circular displays.
Mine only renders on moebius strips.
Peak evil - well done. How much is the extra fee to wrap a letterbox around the circle on a conventional aspect ratio?
There's good money in this idea!
Personally I went for the globe display, because I figured that was a more globally applicable format.
true
however
everything would be fluid in the layout and you would need to set what should go on top of what. And having this feature doesn't seem worth the hassle of making if work, or even using it.
Imagine trying to type in a 'fluid' keyboard
TBH tho, seems like a cool gimmick for some apps.
And that's called Responsive web design
That's called over-engineering for use cases that don't and won't exist. Please lecture us some more though.
You mean the browser handles alignment instead of every single web dev?