[swift-evolution] Feedback for SE-0004: Remove the ++ and -- operators
zarzycki at icloud.com
Sat Dec 5 13:26:13 CST 2015
An observation about SE-0004: Remove the ++ and — operators:
Given that the above is accepted, the only remaining postfix operator in the language is ‘!’ — and that is implemented by the compiler. Please consider just removing user-defined postfix operators entirely. Doing so would define away a type checking ambiguity where “let f : T -> T = someOperatorIdentifier” is ambiguous when both prefix and postfix operators exist.
More information about the swift-evolution