The concept of Type Erasure is not new to Swift, but was radically improved in Swift 5.7 with the addition of the any prefix keyword (not to be confused with the capitalized Any type!) and improvements to the already existing some Opaque Type keyword. In this article, we’ll explain the concept of type erasure, how […]
The .reduce() method was also there in ES5, but I’d never used or seen someone using it in production at that time. Even today, I see people not aware of this method. I’ve also seen people only giving the same shopping cart example while explaining this method and, that’s why I think people don’t completely […]
Andrew: Before we get started I’ve got to acknowledge the support that I get from Grasshopper, the virtual phone system that entrepreneurs love, from Shopify, where you go to create an online store in minutes and from RichWP.com where you get a new theme for your website that you can customize. Guys, really thanks […]