Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes. I don't know Swift, but it appears that Swift's protocol and class are similar to Java's interface and implementation (class), and defining a protocol would be required in Swift in order to define a generic table.LOOKUP(key) operator.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: