Closures and function types/fields may have a place in discussing OOP-like Go constructs.
Matt On Thursday, February 8, 2018 at 10:47:04 AM UTC-6, Stefan Nilsson wrote: > > Here is a short article about how to do OOP in Go with composition, > structurally typed interfaces and, in some special cases, embedding. I > believe this can often be a better approach than traditional OOP modeling > using inheritance. I'd love to hear you thoughts. > > Inheritance and OOP: Go one better > <http://www.google.com/url?q=http%3A%2F%2Fyourbasic.org%2Fgolang%2Finheritance-object-oriented%2F&sa=D&sntz=1&usg=AFQjCNFEwV5QXX_hNZ9E-i_Ub_pioJJ6RQ> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.