News for hackers. Stuff that matters.
Re:Pattern Matching in Ruby 2.7 (2019) by pjmlp on Thursday January 09, 2020 @04:54AM (#21999857)
> functional programming features

What features?

Smalltalk-80 already had lambdas and LINQ, they were just called blocks and collection methods instead.

Pattern matching in OOP languages was a path pursued by BETA, Simula's successor by the same authors, where even classes are instances of patterns as concept.

Re:Pattern Matching in Ruby 2.7 (2019) by verttii on Thursday January 09, 2020 @07:08AM (#22000514)
You got any links to share on this? I'm doing a bit of academic study on the subject of pattern matching in OOP.
Re:Pattern Matching in Ruby 2.7 (2019) by pjmlp on Thursday January 09, 2020 @09:06AM (#22001251)
BETA programming language, https://beta.cs.au.dk/

Chapter 3, Objects and Patterns

Oberon-2 type guards, which are basic but still have the same idea somehow, https://cseweb.ucsd.edu/~wgg/CSE131B/oberon2.htm

Modula-3 type case, https://www.cs.purdue.edu/homes/hosking/m3/reference/typecas...

Re:Pattern Matching in Ruby 2.7 (2019) by verttii on Thursday January 09, 2020 @11:36AM (#22002621)
Thanks!