Re: [w3ctag/design-reviews] Early design review of the **updated** Multi-Screen Window Placement API (#602)

I find `Promise<Screens> getScreens();` a bit confusing due to `.screens` property. It can lead devs to write code like

`screens.screens.length` and even the examples use `screensInterface.screens.length` in order to avoid saying `screens` twice. Maybe we should just call it `ScreenInfo` or similar, like `Promise<ScreenInfo> getScreens()` - naming is hard.

I was also thinking about something like "ScreenDevices", but I still hope we can find a better name

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/602#issuecomment-792919351

Received on Monday, 8 March 2021 17:21:57 UTC