News for hackers. Stuff that matters.
Re:Goenums: Type Safe Enum Generator for Go by willtemperley on Saturday April 26, 2025 @08:39PM (#43808486)
This. I find Swift and Rust enums, which are indeed very similar, to be incredibly good at modelling the real world. For example the standard geospatial vector types which are heterogeneous and even recursive in the case of GeometryCollections can be modelled and operated upon very cleanly.

There are no comments on this comment yet.