News for hackers. Stuff that matters.
Re:Pattern Matching for Java by lmm on Thursday April 20, 2017 @11:07PM (#14162814)
Only if you deliberately add the catch-all case. If you don't and just handle all the cases explicitly, many languages will give you a warning or error when you add a new unhandled variant.
Re:Pattern Matching for Java by lacampbell on Friday April 21, 2017 @12:54AM (#14163177)
Yeah, it's a valid point.