Re:JEP 443: Unnamed Patterns and Variables (Preview)
by pdevr on Wednesday March 22, 2023 @03:26AM
(#35257887)
Yes, some of the examples are weak. However, the case of unused variables is a well-known problem. Caught but unused exceptions is one common use case, and they have some code snippets of that in there too. Using _ is a neat solution.
For those who don't face that issue, life continues as before.
For those who don't face that issue, life continues as before.