Literals and Type Inference in Swift

A literal allows us to represent values in source code, and the compiler supplies us with a range of types to help us out. Furthermore, Swift helps us by inferring types for us. For example… Read more

Similar

Taylor Swift Album Review

Lockdown has inspired a lot of unexpected releases so far, but the biggest surprise comes Taylor Swift. In direct contrast to the exuberant vengeful pop beats and brighter aesthetic of her last album, ‘Folkore’ makes for much tamer listening, circling bac... (more…)

Read more »

Generics in Swift

The other day I came across a bug in my RethinkDB driver for Swift. The function that runs the query defines a generic parameter T, which is used to cast the result of the query to a specific… (more…)

Read more »