img

Software Development Blog

Generic in Swift. Real examples and use cases in real projects

Generic in Swift. Real examples and use cases in real projects

Generic code enables us to write flexible, reusable code. It helps us to avoid duplication and take our code consistent and more universal. I like statically typed languages like Swift because you need to understand where and how to use generics. In dynamically typed languages like PHP or Python, all functions work like generic code […]

READ MORE