3 ms·
I've read through most of the paper, and I admit my grasp is tenuous as well. Here's the best I can do: ADTs define new fundamental types in the algebraic sens
by scott_s 17y ago
I've read through most of the paper, and I admit my grasp is tenuous as well. Here's the best I can do:
ADTs define new fundamental types in the algebraic sense. The new type is fundamental in the sense that one can describe the operations performed on it formally. When you look at an operation on an ADT, you can formally describe what the results should be.
Objects do not define new types. Rather, they define operations on existing types. You also don't necessarily know by looking at an operation what will happen; what happens is decided dynamically.