Re: export & public
- Posted by mattlewis (admin) Dec 03, 2008
- 1368 views
Dear EU users,
We have now two new key words which are useful, but words themselves are not clear enought and require some broad explanations.
I'd like to see just "up" instead of "export"
[snip]
There is nothing to do with "export" and "public" in programming at all, I think.
There is just one level or more *up* in scope.
Public is certainly a very common term, especially with object oriented languages. It generally means that the identifier is visible outside of its module / class / etc.
I think that export is fairly clear as well (at least to a native English speaker). I'm not aware of any other examples of export used in relation to scope, but its opposite, "import" is very common.
The use of "up" seems less clear to me, since the other two already have denotations and connotations related to scope.
In Russian mode of bilingual EU 2.5 there is no my favourite "global" at all, for example.
Instead used Russian word "vezde" which means "anywhere" in English, not "global".
What do you think, guys?
Global is, in fact, a synonym for anywhere in English.
Matt