The Context And The Logic

This is a great post by Soroush Khanlou in which he writes about the two main types of tasks professional programmers work on. Soroush frames these two types of tasks as the context and the logic, arguing that most of a professional programmer's time is spent on the context. This framing allows Soroush to illustrate two important points - that his job is not primarily about programming logic, and that by minimizing the context, he can spend more time on the good stuff.

Be careful with Obj-C bridging in Swift

Type casting in Swift allows us to treat an instance as a different instance of a superclass or subclass from its hierarchy. It's accomplished using the as operator. However, did you know that the as operator is also the Objective-C bridging operator? In this post, Bruno Rocha explains why we need to pay extra attention when casting to make sure we are not also bridging from Swift to Objective-C types.