“if let” considered harmful
The title is a ripoff of an old classic paper “go to statement considered harmful“. It’s a short read and a good one. The goal… Read More »“if let” considered harmful
Functional Programming concepts explained in Apple Swift.
The title is a ripoff of an old classic paper “go to statement considered harmful“. It’s a short read and a good one. The goal… Read More »“if let” considered harmful
Photo by Damon Lam on Unsplash Intuitively we all know what composition is. Just take a look at a painting and different pieces are combined in a way… Read More »Composition is better than inheritance. Why?
Photo by Gary Butterfield on Unsplash This has started as a code review comment at work and a comment from my colleague that I should make a package… Read More »Optional API for Swift Optional
Photo by Patrick Tomasso on Unsplash This is something that happened to me at work. During a code review I have stumbled upon a piece of code that… Read More »Sub stuff
It’s time to remove some magic regarding operators. It’s also time to stop fearing them and start treating them as just another tool. They have… Read More »Swift Operators
I do hope you have big patience because I will start slow. It will like a tutorial on how to draw an owl. But I’m… Read More »Nil is a lie. In Swift. Well kind of… let me explain.