[swift-evolution] Remove (!) logical negation operator

Bruno Berisso gojan.wan at gmail.com
Thu Dec 17 05:53:01 CST 2015


I think that my original proposal was clearly discarded (twenty mails ago)
so to preserve order please consider open other threads to continue the
discussions started here.

I really enjoyed sharing thoughts with you guys :) Thanks to everyone for
participate.
On Thu, Dec 17, 2015 at 08:29 Andrey Tarantsov via swift-evolution <
swift-evolution at swift.org> wrote:

> +1 for clean-up:
>
> • "and" instead of &&
> • "or" instead of ||
> • "not" instead of !
> • if expressions instead of ?!
>
>
> +1 from me as well. Should be a separate proposal, though?
>
> I understand the concern that Chris expressed before:
>
> > We’ve briefly considered this in the past. However, this doesn’t align
> well with the design of swift, which partitions infix and prefix operators
> into their own namespace (composed of operator characters) and normal
> identifiers (composed of “identifier characters”). You can see the grammar
> for this in the Swift Programming Language Reference.
>
> ...but I don't see why the language cannot be extended to allow defining
> and using identifiers as operators.
>
> A.
>
> _______________________________________________
> 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/20151217/d17a7b78/attachment.html>


More information about the swift-evolution mailing list