"Structural pattern matching" for Python, part 2
"Structural pattern matching" for Python, part 2
Posted Sep 2, 2020 14:08 UTC (Wed) by NAR (subscriber, #1313)In reply to: "Structural pattern matching" for Python, part 2 by tnemeth
Parent article: "Structural pattern matching" for Python, part 2
In Erlang/Elixir world if I want to print out that value for error reporting, I don't use the _, but give some meaningful name to that variable. Of course, _ doesn't really mean it's "uninteresting", it means that the variable is intentionally not used.
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
