Y
Hacker News
new
|
ask
|
show
|
jobs
by
mieubrisse
1594 days ago
Yep, agreed. Maybe a new hypothetical `exhaustiveswitch` keyword could be added that would be backwards compatible, but it doesn't seem very Go-like to have such similar functionality as separate keywords.
1 comments
dpatterbee
1594 days ago
I believe new keywords are not backwards-compatible as they will invalidate any code using that as an identifier.
link