[swift-evolution] Proposal to change Logical NOT Operator from exclamation mark ( ! ) to something else
msadiqaadil at gmail.com
Wed Feb 15 12:20:52 CST 2017
If that's the case, force unwrapping can be done with a different symbol.
Personally I like '!' for force unwrapping.
On Wed, Feb 15, 2017 at 11:45 PM, Jose Cheyo Jimenez <cheyo at masters3d.com>
> Swift tries to be part of the C family of languages so keeping all the
> familiar symbols is on purpose. See the ?: operator.
> On Feb 15, 2017, at 10:01 AM, Sadiq <msadiqaadil at gmail.com> wrote:
> I tried to find it there. I did not find it. You mean here
> On Wed, Feb 15, 2017 at 11:27 PM, Jose Cheyo Jimenez <cheyo at masters3d.com>
>> Hi Mohammad,
>> This has been proposed before. Please see the commonly rejected section
>> in the GitHub repo for Swift Evolution.
>> On Feb 15, 2017, at 6:02 AM, Sadiq via swift-evolution <
>> swift-evolution at swift.org> wrote:
>> I would like to suggest to change Logical NOT Operator from ! to
>> something else.
>> It will increase the readability of the code and will avoid any confusion
>> with the symbol used for force unwrapping of optional values.
>> It would be easier for new programmers to learn Swift as the first
>> I don't understand the rational behind using the same operator for two
>> different purposes.
>> Thanks and Regards,
>> Mohammad Sadiq
>> swift-evolution mailing list
>> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution