Congratulations to Chris Eidhof for all his work shepherding SE-0199 through Swift Evolution. The proposal adds a mutating
toggle function for Boolean values to reduce in-code redundancy and enhance readability.
I’m concerned by some un-collegial reactions to its acceptance, which seem to boil down to “this is too trivial a change to the language” stated through sarcasm and ad-hominem attacks: on Twitter, on the evolution forums, and even a mean-spirited Github repository.
If you are passionate about Swift, I urge you to actively participate in the public review and comment process on forums.swift.org. This proposal passed with overwhelming support and the core team has encouraged similar proposals to fill gaps in the standard library.