Good luck web devs (lemmy.world)
submitted 2 years ago* (last edited 2 years ago) by to c/programmer_humor@programming.dev
 

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
[–] 27 points 2 years ago (9 children)

even if it's just mobile

you already have to handle landscape/portrait mode

now imagine having to handle angled

  • source
  • parent
  • hideshow 9 child comments
  • [–] 29 points 2 years ago* (8 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.

  • source
  • parent
  • hideshow 8 child comments
  • [–] 45 points 2 years ago (3 children)

    And this is why my webapp only renders properly on circular displays.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 10 points 2 years ago

    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.

  • source
  • parent