Future enhancements

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

I've followed several threads about suggested Euphoria enhancements.
Rob Craig just posted a message telling us about some new features
he's thinking of. Most of past suggestions were rejected by RDS
'cause they involved an increase in the Euphoria language
"complexity", wich I agree with. But I think that there SHOULD be an
enhancement that possibly increases Euphoria complexity, but is
escential for implementation of good modular programming:

    The posibility of declaring as "external" from one file (*.e) a
    function/variable from another file.

This could be achieved with a keyword like:

     EXTERNAL("my_function","include.e")

at the beggining of the code. With this method, function
my_function() in file include.e shouldn't be declared as GLOBAL, but
may be called from the module where it was declared as external.
Maybe there could be a PRIVATE attribute for functions/variables so
they can't be declared as EXTRENAL in other modules...


Regards,
  Daniel Berstein
  danielberstein at usa.net
  http://www.geocities.com/SiliconValley/Heights/9316

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

Search



Quick Links

User menu

Not signed in.

Misc Menu