Hacker News new | ask | show | jobs
by za3faran 1240 days ago
They are not distinct types. You can pass ints to methods that accept enums, even if they are outside the enum defined range.