3 ms·
A good way of getting at this is to call things at runtime "classes" or "tags" to make it apparent that their discrimination happens at runtime, not compile-tim
by jlouis 12y ago
A good way of getting at this is to call things at runtime "classes" or "tags" to make it apparent that their discrimination happens at runtime, not compile-time. The problem is that if you call both things types, you quickly run into a situation where you are essentially talking about different concepts entirely.
Note that most sum-types are implemented by having a runtime tag on which you can discriminate.
- seanmcdirmid 12y agoClasses exist statically also. Tags are meaningless outside of implementation discussions.