How generics in Swift can lead to safer, cleaner code | Hacker News Reader