Re: ver4 keyword Conflict

new topic     » goto parent     » topic index » view thread      » older message » newer message
BRyan said...

...snip... but I still think that if you have standard libraries then all Math functions should be located in a standard Math library.

This was one of the initial goals for having standard libraries.

One of the things we are stuck with is core functions and additional functions. Core functions are what you get built right into Euphoria. No additional libraries/includes are needed to use these functions, they are embedded into eui.exe. The standard library are those functions that are in addition to the core, built-in functions.

I, however, see what you are speaking of and it would be nice to have these methods under a namespace but as Jim pointed out it would break every existing Euphoria application back to 1.0. Python has the same concept of libraries vs. built-ins, http://docs.python.org/library/functions.html ... For example, abs, len, cmp are all built-ins.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu