3 ms·
Java has records, pattern matching, and proper enums. As of writing this comment, golang does not allow you to have generics on methods as far as I'm aware.
by za3faran 4y ago
Java has records, pattern matching, and proper enums.
As of writing this comment, golang does not allow you to have generics on methods as far as I'm aware.