younotesunreadstarredadd url

Partial functions in Swift, Part 1: Avoidance

http://www.cocoawithlove.com/blog/2016/01/25/partial-functions-part-one-avoidance.html

november 2016IFTTT Pocketopen in karakeep

by Matt Gallagher ‧ Cocoa with Love ‧ saved copy from 2026.03.02

Karakeep has no AI summary for this page yet. summarize now

page description:

Partial functions (functions with preconditions) are a risky design choice. You probably have a few in your program, even if you haven’t clearly identified them. Learn how to recognize them, learn about their risks, learn to avoid them and learn why you might choose to use them anyway.
screenshot of the page

« back to bookmarks