FREN

#FF00AA


16 jun. 2014

The horrible mess that is Swift’s named parameter syntax

Also note that you can NOT change the order of parameters in a call. Oh, scratch that — you can, but only with parameters for which a default value is defined. Because fuck you that’s why. (I guess because implementation details of the parameter not being part of the function’s signature anymore.)

Swift: Fun with Parameter names!

Swift parameters generalize functions. They creates flexible code whose outcome is controlled at run-time by the values they are passed. Here’s a function that builds a UIBezierPath based-wed…

Want to know when I post new content to my blog? It's a simple as registering for free to an RSS aggregator (Feedly, NewsBlur, Inoreader, …) and adding www.ff00aa.com to your feeds (or www.garoo.net if you want to subscribe to all my topics). We don't need newsletters, and we don't need Twitter; RSS still exists.

Legal information: This blog is hosted par OVH, 2 rue Kellermann, 59100 Roubaix, France, www.ovhcloud.com.

Personal data about this blog's readers are not used nor transmitted to third-parties. Comment authors can request their deletion by e-mail.

All contents © the author or quoted under fair use.