On 14 September 2011 16:58, Johan Vromans <jvromans@squirrel.nl> wrote: > Dave Rolsky <autarch@urth.org> writes: > >> For additions of new features with new keywords, this use line will >> block the new keywords from being usable in that scope. This seems >> fairly easy, for some value of "fairly" and "easy" which I can't speak >> to, since I've never hacked on the core C code ;) > > I've always wondered why the new keywords have not been added as "weak > keywords" (like "lock"). This would have avoided the need for a > feature pragma. In my mind that was to avoid effect at distance : if you upgrade a module that changes its default export list to contain a sub named like a weak keyword you're using, your program semantics changes under you.Thread Previous | Thread Next