Hacker News
new
past
comments
ask
show
jobs
points
by
andrekandre
8 hours ago
|
comments
by
tailrecursion
7 hours ago
|
[-]
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.
reply