2 ms·
Didn't PASCAL have variant record types with a kind of primitive pattern matching already?
by zozbot234 11mo ago
Didn't PASCAL have variant record types with a kind of primitive pattern matching already?
- skepti3 11mo agoPossibly, I am not sure, though Delphi, a successor language, doesn't seem to advertise itself as having pattern matching. Maybe it is too primitive to be considered proper pattern matching, as pattern matching is known these days. Pattern matching has actually evolved quite a bit over the decades.