[swift-evolution] Remove (!) logical negation operator (swift-evolution Digest, Vol 1, Issue 181)
marc at knaup.koeln
Tue Dec 15 14:02:42 CST 2015
Your email did break out of the thread into its own one.
(at least in Google Mail)
On Tue, Dec 15, 2015 at 8:47 PM, Rainer Brockerhoff via swift-evolution <
swift-evolution at swift.org> wrote:
> On 12/15/15 14:05, Tommy van der Vorst wrote:
> > I *do* see negative effects of removing it: ! is part of virtually
> > all programming languages currently in use, any decent programmer is
> > accustomed to it and read it like 'not' in their head anyway.
> > Removing would definitely confuse newcomers to the language.
> I agree with that.
> However, should `!` be removed, I'd suggest `~` — which already means
> negation for integers, but is currently not defined on booleans.
> Rainer Brockerhoff <rainer at brockerhoff.net>
> Belo Horizonte, Brazil
> "In the affairs of others even fools are wise
> In their own business even sages err."
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution