On 5 March 2014 20:14, Gustavo Niemeyer <[email protected]> wrote: > On Wed, Mar 5, 2014 at 5:12 PM, Nate Finch <[email protected]> wrote: >> For the record, I'm not a fan of duplicating the package name of anything in >> the standard library. Obviously, sometimes collisions will happen if a new >> package is added to the standard library, but it seems like a bad idea to do >> it on purpose. When you're deep in the middle of a file, and you see >> >> log.Printf() > > That looks like a pretty interesting example of when a matching > package name *is* a good idea. If I was able to just switch a logging > package and be able to have things working seamlessly, I'd love it.
That's precisely the reason that I named github.com/juju/errgo/errors as I did - it implements a strict superset of the standard errors package. -- Juju-dev mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
