On Friday, August 31, 2018 at 6:55:28 AM UTC-4, ohir wrote: > > On Thu, 30 Aug 2018 18:41:48 -0700 (PDT) > Eric Raymond <e...@thyrsus.com <javascript:>> wrote: > > > Oh, actually, I have one other issue; how to translate virtual methods > in a > > Python base class into Go's object model. > > Inheritance based domain models do not translate directly to go's > composition > based ones. Forget "virtual". Forget inheritance. >
Most of your advice is helpful. This is not. Helpful advice would begin with a topic sentence something like "Here is how to use composition to emulate superclass behavior." Remember, I'm not writing code de novo. I'm translating a large existing codebase. The distance I can wander away from its present factoring/organization without triggering a dangerous complexity explosion is very limited. -- 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.