Remix.run Logo
zozbot234 2 days ago

Didn't PASCAL have variant record types with a kind of primitive pattern matching already?

skepti3 2 days ago | parent [-]

Possibly, 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.