Hacker News new | ask | show | jobs
by zozbot234 193 days ago
Didn't PASCAL have variant record types with a kind of primitive pattern matching already?
1 comments

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.