2 ms·
Symbols exist as data structures at runtime that can be inspected, have their names compared, and have a value that is separate from their name. Enums typically
by dreamcompiler 2y ago
Symbols exist as data structures at runtime that can be inspected, have their names compared, and have a value that is separate from their name. Enums typically don't do any of that.