Now that’s a good idea ! Hopefully sometime today. :) > On May 22, 2019, at 8:15 AM, Ian Lance Taylor <i...@golang.org> wrote: > >> On Wed, May 22, 2019 at 9:02 AM Robert Engels <reng...@ix.netcom.com> wrote: >> >> The more I think about this, the more I believe that this is a horrible >> situation that breaks all rules of encapsulation. This requires the creator >> to maintain references to the underlying Writer. It also requires the >> creator to be the sole decider of when the Writer is closed, or the creator >> must pass the concrete class to subordinates so they can close, or the >> subordinates must do type casting. >> >> The bufio.Writer is badly broken and should be changed to declare Close and >> pass this to the contained Writer if it is a WriterCloser. > > What to open a proposal for that? https://golang.org/s/proposal. > > Ian
-- 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/933AB061-B9BD-46C5-B114-47E8CFA0514A%40ix.netcom.com. For more options, visit https://groups.google.com/d/optout.