News for hackers. Stuff that matters.
Re:What I'd like to see in Go 2.0 by bcrosby95 on Friday February 04, 2022 @01:45PM (#30211134)
I guess I don't quite get this. What I'm seeing here is that a non obvious breaking change is being turned into an obvious one.

If something is handling A and B, but you add C, the code probably needs to make sure it's handling C correctly.

I use Java in my dayjob and the behavior you've outlined is how I always code things, but it's manual and doesn't happen at compile time: I provide default that throws a runtime exception.

There are no comments on this comment yet.