I remember being excited that Java enums could have both fields and methods, although you only get one copy of the fields per enum value so really they need to be constants set when the enum is declared. But then getting to go to Rust's proper sum-typed enums is sooo much better still!