Re: ver4 keyword Conflict
- Posted by mattlewis (admin) Oct 03, 2011
- 1553 views
petelomax said...
I'm not sure what the fuss is about. It just means
?tan(0.5)
would have to become
include std/maths.e ?tan(0.5)
Is that really such a deal breaker?
From the user's perspective, that's all it would be. There's quite a bit more involved in making tan something other than a built-in. Note that tan has its own OPCODE in euphoria IL code.
Jim mentioned making tan a machine_func. This would definitely be slower than what it is now. I'm not sure what you really gain by doing so, other than a sense of purity. Again, I haven't heard anyone ask why #puts# or #printf# or #?# aren't in std/io.e.
Matt