2 ms·
I think that is a horrifying crime against man and nature. If I wanted to write PERL I would do so.
by Marazan 3y ago
I think that is a horrifying crime against man and nature. If I wanted to write PERL I would do so.
- kaba0 3y agoWhat is hard to understand about it? _ is universally used as a placeholder, it also usable in pattern matching. Scala can be used to make some perl-y <!! operators, but it is not like that at all, and makes for very readable, understandable code.
- haspok 3y agoAlso targeted at Java 22: https://openjdk.org/jeps/456 https://openjdk.org/jeps/456 (Unnamed Variables & Patterns)