News for hackers. Stuff that matters.
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by andix on Saturday March 01, 2025 @03:55PM (#43223591)
> A language like Golang tries really hard to only have _one_ way to do something

Really?

Logging in Go: A Comparison of the Top 9 Libraries

https://betterstack.com/community/guides/logging/best-golang...

Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by evanmoran on Saturday March 01, 2025 @04:04PM (#43223664)
Since Go added slog many of these have been removed in favor of that. Obviously not universal, but compared to npm there really are massive numbers of devs just using the standard library.
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by throwaway920102 on Saturday March 01, 2025 @04:27PM (#43223852)
I would argue logging options to be more of an exception than the rule. Compare the actual language features of Go to something like Rust or Javascript and you'll see what I mean. As a new developer to the language (especially for juniors), you can learn all the features of Go much faster. It's made to be picked up quickly and for everyone's code to look the same, rather than expressing a personal style.
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by duskwuff on Sunday March 02, 2025 @12:31AM (#43227712)
I find it hard to imagine how a language could enforce that no two (third-party) libraries can implement the same functionality.