===[ Йумор ]=== #post-id: 7321-14-11 #original-date: 11.08.2020 Tue #original-time: 2:11 PM #original-day: 7321 #original-host: WinXP Home SP3 (Build 2600) > A customer wanted to know how to get the complete list of programs > from the Settings, System, Notifications & Actions, Get > notifications from these senders list, as well as whether the user > has enabled notifications for each app. > > Upon closer questioning, it turns out that this isn’t really what > they wanted. They didn’t need the complete list of apps and the > user’s preference for each one. When asked what they were going to > do with the information, they said that they were going to search > through the list looking for their app, to see whether > notifications are enabled. If notifications are disabled for their > app, then they are going to warn the user, “You need to enable > notifications for Contoso Sports to receive game alerts.” > > In a sense, this was a case of the “for/if” antipattern: Instead > of asking for the thing that they actually want, they ask for > everything and then try to filter to the thing that they want. https://devblogs.microsoft.com/oldnewthing/20200810-00/?p=104058 Рэймонд Чен почти открыл XY problem.