The problem with "the wifi bug" is that I doubt it's A bug. It's likely not as simple as that.
There are likely multiple bugs. But that doesn't change the fact that they could (and damn well should ASAP) fix the bugs we KNOW ABOUT,
the most notorious of which is the discoveryd bug, the fact that there is something wrong with the protocol used by base stations to hold onto (and later update) the names of Apple devices, leading to constantly changing names (and things not working because the expected name has been changed).
There is likely a second, different, bug that's related to iOS WiFi synching. This occurs even when the target mac has NOT done the "let's change my name for random reasons" thing, and appears to be a bug on the iOS side, not the mac side.
In addition to all this, there's just basically STUPID UI stuff that they should have fixed years ago. It's nice that my phone automatically connects to, say, the MacysFreeWiFi network when I'm in a Macys. BUT the system should at least test that that WiFi network is actually freaking working (and not connect, or display a broken WiFi icon) if it can't use the WiFi to actually reach the outside world.
The big problem behind all this is Apple's utter stony silence on the issue. Do they even CARE that there is a problem? Do they have a plan for fixing it? When can we expect progress? etc
MS used to be the big bad evil, but over the past few years they've become a LOT more pleasant than Apple to deal with regarding this sort of thing --- substantially more forthcoming about issues and schedules (and, if we're being honest, substantially less likely to write/release amateur code that exhibits these sorts of low-level OS-type issues in the first place).