Hacker News new | ask | show | jobs
by integralid 261 days ago
If you like dynamic types have you considered using protocols? They are used precisely to type duck typed code.