3 ms·
I’ve followed these things over the years. Had many discussions with people, including a few Python luminaries, but I honestly never expected this day would com
by techdragon 6y ago
I’ve followed these things over the years. Had many discussions with people, including a few Python luminaries, but I honestly never expected this day would come. I fell in love with pattern matching when I learned Erlang and Elixir and it’s bugged me ever since that I didn’t have any built in equivalent in Python, until now!
- macintux 6y agoPython 2 had pattern matching on tuples in function arguments; I was quite annoyed, coming from Erlang, when I discovered that was dropped in 3.0, in part because "no one uses it".
- toxik 6y agoThis is not truly Erlang style pattern matching. And Python can never have that either because of its design.