[swift-evolution] Proposal: remove "assert" and always use "precondition" instead.

Adrian Kashivskyy adrian.kashivskyy at me.com
Tue Dec 8 17:55:11 CST 2015


Strong -1, `assert` is a great tool for catching programmer errors in development phase, without compromising the stability in release mode.

Pozdrawiam – Regards,
Adrian Kashivskyy

> Wiadomość napisana przez Amir Michail via swift-evolution <swift-evolution at swift.org> w dniu 09.12.2015, o godz. 00:52:
> 
> Swift is a safe language after all. Moreover, it is all too easy to accidentally type “assert” when you mean “precondition”.
> _______________________________________________
> 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/20151209/c2895b27/attachment.html>


More information about the swift-evolution mailing list