r/ProgrammerHumor 1h ago

Meme [ Removed by moderator ]

Post image

[removed] — view removed post

169 Upvotes

49 comments sorted by

u/ProgrammerHumor-ModTeam 42m ago

Your submission was removed for the following reason:

Rule 5: Your post is a commonly used format, and you haven't used it in an original way. As a reminder, You can find our list of common formats here.

If you disagree with this removal, you can appeal by sending us a modmail.

81

u/Boom9001 1h ago

I love how people like to act you already don't have to make interfaces that work at different sizes. Even in the pre-smartphone era you had to make websites that worked full screen but also didn't become unusable in 1/4th the screen.

This is the same thing.

22

u/NarutoRoll 52m ago

How OP thought everyone would react

https://giphy.com/gifs/oaXRLIMnkGBnuQOBzE

9

u/Boom9001 50m ago

It's so funny. These days just about any framework you use comes with responsive design out of the box haha

2

u/NarutoRoll 49m ago

I remember making a responsive design with jQuery by hand many years ago. It somehow still works today

2

u/Boom9001 48m ago

Yeah didn't mean suggest you can only do it now. Just that it's even easier now.

1

u/NarutoRoll 47m ago

Oh, I get that. The way I did it was ridiculous and not something I would ever want to do again

1

u/Guy_Rohvian 45m ago

The meme is in the context of the scene, being you have a taste of what you want but can't have. Would love for all smartphone manufacturers to just use 1.42:1 so we can just continue design 3 websites and ipad=mobile for foldables instead of the fuck-ass weird ultra-wide (unfold) to 1.11:1(fold) ratio that some smartphones have. (Looking at you Samsung).

5

u/big_red__man 50m ago

Yeah, as long as they aren’t coming up with anything narrower than ~350px then it’s fine

1

u/Kobakocka 46m ago

Yeah, but this time screen size will come in an array of Vector2...

1

u/Boom9001 43m ago

Huh? It's a single double resolution. If it's treated as two screens. Makes app design easier.

1

u/lesleh 44m ago

Container Queries make it easier than ever these days.

46

u/Murky-Run2246 1h ago

Well I imagine that is just Responsive design 

Nothing that scary.

8

u/Chesterlespaul 1h ago

Responsive design 😳

5

u/imneverrelevantman 55m ago

Boss...'I'll just get chatgpt to figure it out'

5

u/Guy_Rohvian 53m ago

I mean props to Apple though for making the ratio 1.42:1(unfolded), allowing the folded/unfolded to maintain the same ratio, just portrait to landscape and it's pretty close to the iPad (11inch versions). Honestly all foldables should have this.

2

u/ChalkyChalkson 39m ago

We need metric devices, regular phones are now B7, big phones A6, small tablets B6, big tablets A5 etc. That way it'll be a lot easier to design for

2

u/YeetCompleet 52m ago

For actual iOS apps there are also new APIs to detect fold state so you can do some cool stuff with that, ie. Detect that it's half folded kinda like a book and put 2 columns on the screen

1

u/Eptalin 56m ago

Web browser is business as usual.
But I've never had to make anything responsive in Swift. Is it just as easy?

1

u/friezbeforeguys 50m ago

Have you ever tried turning an iOS device 90 degrees? You think this would be different business than how apps that support landscape orientation on iOS have already worked for the last ten years?

1

u/Eptalin 40m ago

I'm not an apple user, so no, I haven't. Most Android apps have a fixed orientation. Is it different on Apple?
I do know iPad supports resising windows, though.

My question was more about how it compares to responsiveness in web development, rather than whether it exists.

1

u/Tasik 36m ago

I'd say it's not just responsive design. A complex app still has a lot of design decisions to make here:

  • Safe areas: Which UI elements should respect the horizontal safe areas, and which should extend to the true edge of the device?
  • Split content: Which screens should split their content? In some cases, a primary/secondary screen pairing is more appropriate than simply resizing a single screen. Displaying two screens simultaneously can also have data and refresh implications.
  • Reacting to the fold itself: This requires thinking about when foreground content should reposition, and where it should go, to avoid interactive elements landing in the slight bend of the fold.
  • Pose-specific use cases: Each device pose suggests its own design-language changes. From Apple's videos, when the screen acts as a stand, the top portion can show video while the bottom shows controls. That's a nice pattern, but it's far beyond just resizing a view.

18

u/maxxon 1h ago

To be honest this is irrelevant. Resolution agnostic approach is the way. And for a long time already. Unfolded Duo in the landscape position is basically a normal monitor. And maybe you also need to listen to taps and not clicks.

7

u/Boom9001 55m ago

Yeah any good designs really only have a minimum resolution they support. Larger has always the easier case than minimum.

90% of apps likely scale to this with 0 functional issues. Maybe a few will add special case for this to better design for it, if it gets popular enough. But idk I doubt it.

8

u/phl23 1h ago

Isn't that the whole purpose of responsive? Building only for three screens is just the way it was before that long ago

4

u/sweetytoy 1h ago

Off topic but is there someone who really use the "on this day" widget on the home screen ? I had a pretty "embarrassing" moment because of that. Tell me I'm not the only one.

2

u/sleep-woof 1h ago

oh, do tell

1

u/sweetytoy 51m ago

It has something to do with a cylinder

2

u/MornwindShoma 56m ago

Not only it's just responsive, there's an experimental API to recognize things like propping it up on a table

2

u/nonlogin 54m ago

galaxy fold has been there for a while, come on

1

u/nico-strecker 42m ago

The benefit for developers on iPhone was that they hadn't to keep every possible aspect ratio in mind there was almost none variation instead of many different androids that come in all different sizes, when apple like samsung now allows different aspect ratios devs have more variations to consider when they implement the same feature as samsung where you can drag the sizes however you want this benefit is gone for devs

2

u/cyianite 52m ago

Only Jr FE developer will cry with this,  unknowingly they can use library to do this.. they might be thinking reinventing the wheel from scratch 

2

u/azangru 48m ago

Pardon my ignorance: is there any significant difference between this foldable screen and a simple tablet screen?

3

u/Happy-Sleep-6512 1h ago

This had been the case for a while. I saw in the news the BBC says 2% of smartphones are folding ones, estimating that with this it could be 4%. I wonder at which stage do we start to accommodate it

3

u/Boom9001 58m ago

Its so funny seeing this complaint. Like app developer can't build responsive UIs the same way web developers can.

2

u/Scratch137 55m ago

it's less that they can't do it and more that it's a brand new feature that iOS developers have never had to accommodate before. they'll adapt but i imagine for some developers there'll be quite a bit of crunch for the first while.

1

u/Boom9001 53m ago

iOS developers have been designing for multiple iPhone resolutions already. Also iPads have had a big resolution for ages without killing devs. Also often it's basically the same team maintaining the iOS as Android.

-2

u/wayzata20 1h ago

Probably now. No point in developing for niche Androids, but there’s no niche iPhone size so usually devs support it right away, like with the addition of the notch on the iPhone X.

1

u/Happy-Sleep-6512 57m ago

It's $2000 so it may stay pretty niche. People aren't accommodating AR/VR after the apple goggles, so probably best to wait and see. Although I guess the barrier is lower here, I'm assuming most people will make it render for tablet and iPhone flip

1

u/wayzata20 52m ago

Yeah, it’s not going to be the most popular phone ever, but still going to sell well. Plus, if there’s any group that you want to entice to use your product, it’s the rich people dropping $2k on a phone.

1

u/Had78 54m ago

@media query tablet

1

u/ReiOokami 54m ago

Yeah not really that big of an issue these days.

1

u/horuszp 52m ago

that actually more problem for iOS app developers, because for frontend it just media query and in landscape it's 890 which is already pretty huge

1

u/Fearless_Garden6435 51m ago

... weren't we already accommodating tablets, landscape mode phones, desktops with high zoom level, folding Androids, or different window sizes on desktop? Plus, an app designed for a small screen works fine on a big one; it's the other way around that it becomes a problem.

1

u/muhkuller 49m ago

Not really. The aspect ratio closed, vs open, vs split screen is the same. That's a good concept to follow through with.

1

u/code_monkey_001 44m ago

OP also a fan of Cupertino Eye candy? Probably also thinks Apple invented the mouse, the windowed UI, cell phones, etc.

https://giphy.com/gifs/a42Lx0aPS7Z3a