#using the union type,
4 messages · Page 1 of 1 (latest)
use unions where they make sense
if those 30 possible strings are significant in terms of types, then you'd put that in a union somehow
if you have essentially a 30-member enum that would still be represented as a union, it just means you have design issues that resulted in that massive enum to begin with