/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

krakendev.io
| | www.cs.cornell.edu

I did some iOS programming recently (for an unknown reason). Using the new Swift language has made it evident the language is young-and, like a rebellious teenager, it conflicts with its much older framework counterpart, Cocoa. Here are two places where the disconnect is most stark, and where Swift should grow more sophisticated type-system features.
4.3 parsecs

Travel
| |
| | atomicbird.com

or, how to accidentally break Swift initialization rules. Today Im going to talk about optionals. Swift optionals. And also another kind of optional. And how you might break the ironclad rules of Swift without realizing it until its too late. What is an optional anyway? It depends who you ask. Swift will give you one answer, but Core Data has other ideas. So what happens when you bring them together?
2.9 parsecs

Travel
| |
| | arturdryomov.dev

A story about Kotlin. And null. And Java. And kind of about Swift.
3.6 parsecs

Travel
| |
| | www.thomashanning.com

Property wrappers enable you to reuse code that specifies the access pattern of a property. Often you add behaviour to a property through its observers. For example, you can use the didSet observer to trim a string: class TestClass { var trimmedString: String = "" { didSet { trimmedString = trimmedString.trimmingCharacters(in: .whitespaces) } } } var test
29.7 parsecs

Travel
|