On Sunday, September 15, 2019 at 1:26:06 AM UTC-4, Sathish VJ wrote: > > Yes, that makes sense. Thank you. > > The example I wrote was concocted. But I've seen others do it on their > own types too, which didn't make sense at all. Maybe they were just > copy-pasting similar code from elsewhere. >
If that is the case, then it is a textbook case of Cargo Cult Programming <https://en.wikipedia.org/wiki/Cargo_cult_programming> on their part. I applaud you for trying to understand the why. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/183959b5-713f-474f-8aac-936dc2247e9b%40googlegroups.com.