The case for interface{}
When and how to use empty interface
- Track: Go devroom
- Room: H.1308 (Rolin)
- Day: Saturday
- Start: 14:00
- End: 14:30
The empty interface (interface{}) is one of the most interesting, powerful, and easily abused features of Go, but there are use cases for which it is uniquely and excellently suited. In this talk for the Go devroom, I will propose a set of rules which can be used to see if your use of interface{} will be the elegant and simple API that interface{} promised, or merely lead to a maintainability nightmare down the road.
Speakers
Sam Whited |