Re:Constraints in Go
by Groxx on Sunday November 17, 2024 @03:21PM
(#42166854)
tbh I'll still take it over a similar Gordian knot with interfaces. At least you can tell the restrictions are met at compile time, rather than silently failing at runtime because you (and/or someone else in the past) didn't notice one edge case lodged somewhere surprising.
[ Parent
| on HN ]
There are no comments on this comment yet.