News for hackers. Stuff that matters.
Re:Solutions to Integer Overflow by SamReidHughes on Saturday September 03, 2016 @04:49AM (#12418376)
Swift has release-mode assertions, they're done with precondition().
Re:Solutions to Integer Overflow by dbaupp on Saturday September 03, 2016 @12:29PM (#12419800)
You are correct, but my point was implicitly that the default thing people reach for is assert, especially since the name precondition sounds like it is only ok to call at the start of a function.