[swift-evolution] Remove (!) logical negation operator (swift-evolution Digest, Vol 1, Issue 181)
Marc Knaup
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."
> http://brockerhoff.net/blog/
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151215/5907750a/attachment.html>
More information about the swift-evolution
mailing list