News for hackers. Stuff that matters.
Re:Pattern Matching in Ruby 2.7 (2019) by louis8799 on Thursday January 09, 2020 @04:44AM (#21999795)
Do we have something similar in python, if not I am going to make one.
Re:Pattern Matching in Ruby 2.7 (2019) by L3viathan on Thursday January 09, 2020 @05:30AM (#22000020)
Re:Pattern Matching in Ruby 2.7 (2019) by Stormwalker on Thursday January 09, 2020 @10:35AM (#22002001)
This project is just someone wrote a proposal or something. Here is actually implemented pattern matching as a library https://github.com/santinic/pampy
Re:Pattern Matching in Ruby 2.7 (2019) by pansa on Thursday January 09, 2020 @07:00AM (#22000468)
IIRC Guido himself is planning on adding a `match` statement to Python.