News for hackers. Stuff that matters.
Re:The perfect language and why Go still isn't it by majewsky on Sunday August 04, 2019 @05:20PM (#20609292)
Go supports parametric polymorphism by specifying arguments with an interface type.

  func DoWorkWith(foo Loggable) { ... }

  type Loggable interface {
    //for example
    LogTo(os.Writer)
  }

There are no comments on this comment yet.