this post was submitted on 28 Dec 2023
16 points (100.0% liked)

Programmer Humor

28513 readers
1673 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

founded 2 years ago
MODERATORS
 

Alt text:Twitter post by Daniel Feldman (@d_feldman): Linux is the only major operating system to support diagonal mode (credit [Twitter] @xssfox). Image shows an untrawide monitor rotated about 45 degrees, with a horizontal IDE window taking up a bottom triangle. A web browser and settings menu above it are organized creating a window shape almost like a stepped pyramid.

Edit: alt text

you are viewing a single comment's thread
view the rest of the comments
[–] owsei@lemmy.world 0 points 2 years ago (1 children)

even if it's just mobile

you already have to handle landscape/portrait mode

now imagine having to handle angled

[–] grue@lemmy.world -1 points 2 years ago* (last edited 2 years ago) (1 children)

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.

[–] rambaroo@lemmy.world 1 points 2 years ago

That's called over-engineering for use cases that don't and won't exist. Please lecture us some more though.