Look at Nim's concept(http://nim-lang.org/docs/manual.html#generics-concepts), it can do more than a regular interface.
Edit: here is how they look like, concept vs interface:
1. Nim: http://ideone.com/wn3Kzf 2. Go: http://ideone.com/fRrB05
Edit: here is how they look like, concept vs interface:
1. Nim: http://ideone.com/wn3Kzf 2. Go: http://ideone.com/fRrB05
No comments yet.