3 ms·
The language isn't extensible, so these are changes that happen very rarely; the compiler is simply optimized for the actual task it has. What would be weird wo
by tptacek 5y ago
The language isn't extensible, so these are changes that happen very rarely; the compiler is simply optimized for the actual task it has. What would be weird would be expending any real effort --- or, worse, runtime cost --- for an engineering case we know is never going to happen.
- benhoyt 5y agoYes, and specifically in this case no keywords have been added to the Go language at all since its 1.0 release (I just checked the 1.0.1 spec and there are still 25 keywords). Even the addition of generics coming soon in 1.18 will add no new keywords (though it will add a new token, "~").