How Swift protocols and immutability impact database accesses | Hacker News Reader