NSBlog
"A failure in the hot air department"
Showing entries tagged "assert". Full blog index.
Friday Q&A 2016-03-04: Swift Asserts
at 2016-03-04 14:30
Asserts are really useful for checking assumptions in code to ensure that errors are caught early and often. Today, I'm going to explore the assert calls available in Swift and how they're implemented, a topic suggested by reader Matthew Young.
Friday Q&A 2013-05-03: Proper Use of Asserts
at 2013-05-03 13:03
Asserts are a powerful tool for building quality code, but they're often poorly understood. Today, I want to discuss the various options for writing asserts in Cocoa apps and the best ways to use them, a topic suggested by reader Ed Wynne.