News for hackers. Stuff that matters.
Re:Migrating from Go to Rust by pas on Monday May 25, 2026 @06:20AM (#48265250)
it's too verbose, yet not explicit.

you need to know the conventions to spot what's not there (did you miss the error handling? or the magic comment for the whatever codegen serializer? c'est la vie!)

edit: just a few comments below an even better description of what I'm trying to convey: https://news.ycombinator.com/item?id=48264853

Re:Migrating from Go to Rust by cdelsolar on Monday May 25, 2026 @10:53AM (#48267581)
Disagree, if you miss the error handling the code won’t compile (unless you return _, which should be easy to spot)

The magic comment stuff is very much “do it once” and it’s done (for example if using go generate).