

2·
5 months agoI haven’t gone through it thoroughly but the first thing that stuck out was the use of a default logger. I don’t think libraries should log by default. If you do allow a logger to be injected in I think it should be an interface.
I haven’t gone through it thoroughly but the first thing that stuck out was the use of a default logger. I don’t think libraries should log by default. If you do allow a logger to be injected in I think it should be an interface.
Speaking primarily as a Go developer, what I see is companies cutting costs, and Java is battle-tested and there’s a tonne of talent out there who know the language. If Java in your area already pays more, I’d say you’ve already got your answer.
Besides which, if Go truly does eat the Java world in the next couple of years (it won’t), the language is still young enough for you to pick it up fairly quickly. Especially with the help of AI.