Hacker News new | ask | show | jobs
by skybrian 2192 days ago
For example, the caller could cast `int` to `myInt` which implements the appropriate interface. This is probably more idiomatic than using a bare `int` type anyway.