48 points · by stablemap · 7y ago · 9 comments
For example, the httptrace package provides a set of hooks you can opt in to for various http events.
That being said I've only ever experienced a lot of pain when libraries use a global logger. Otherwise it's usually pretty painless to adapt one logging library to another.
It's notable how so many independent programming communities seem enamored with Simple being the goal, yet probably don't even agree on the definition of the term.
> Simplicity requires more work at the beginning of a project to reduce an idea to its essence and more discipline over the lifetime of a project to distinguish good changes from bad or pernicious ones. With sufficient effort, a good change can be accommodated without compromising what Fred Brooks called the 'conceptual integrity' of the design but a bad change cannot, and a pernicious change trades simplicity for its shallow cousin, convenience. Only through simplicity of design can a system remain stable, secure, and coherent as it grows.
"Experiment, simplify, ship"? Yeah, who would have thought of that! Surely other language teams never do the same...
It's doubly annoying when the whole process involves trivial issues, long ago solved to satisfaction in tons of similar languages... (e.g. Optionals for error handling).
I try to just gloss over it now and let it be, because you never know who might be getting motivated by it like I was, and I would hate to think I ruined their excitement by being jaded about it. But it is still pretty annoying to read.
Language revisions tend to focus on adding features or capabilities or expressiveness. Go is famously, aggressively, minimalist from an experiential point of view. What rsc is saying is that nothing is going in to Go 2 unless it noticably simplifies things, and unless the incremental addition is itself is as simple as it can get.
This is definitely not the typical way languages evolve.