News for hackers. Stuff that matters.
Re:Java is becoming more like Rust, and I am here for it by edflsafoiewq on Monday March 04, 2024 @01:31PM (#39594060)
They didn't come from FP either. Records and variant records were common features of imperative languages (Algol, Pascal, Ada, Modula). They were considered to be subsumed by classes when OOP became popular.

I believe FP did give us the pattern matching syntax for destructuring variants though.

There are no comments on this comment yet.