News for hackers. Stuff that matters.
Re:Routing Enhancements for Go 1.22 by randomdata on Tuesday February 13, 2024 @03:57PM (#39362717)
> A panic?

Sure. That's precisely what exceptions (panics) are for: To deal with programmer mistakes identified at runtime that the compiler failed to detect. The use is appropriate.

If you want perfect compile-time safety, Go is not it. It prioritizes other tradeoffs. Such is engineering.

There are no comments on this comment yet.