On 10/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > On 10/4/06, Jason Grossman <[EMAIL PROTECTED]> wrote: > > I'm finding the names "global" and "universal" (for variables) > > confusing. They sound to me like they should mean the same thing. > > Since fish emphasises discoverability, could they have more self- > > explanatory names? > > I agree. Here are some possible new names: > - local, global, system-wide > - local, session, system > - block-wide, session-wide, system-wide (but used as ``set --block'' etc) > - block, session, system
Interesting. 'Block' and 'session' are actually better scope names than 'local' and 'global', in my opinion. Very good names. But unfortunatly, I would guess that changing from 'local' and 'global' to something else will cause more confusion than any benefit better naming will bring. The 'local' and 'global' names are used in so many other languages that it is very probable that most fish users will be familiar with the terms. Or am I wrong here? As to 'universal', 'system-wide' is slightly better as well, though it might be confused with some kind of 'system variables', i.e. some kind of read only variables that tell you the current system state. Also, I think that the name 'universal' fits in very will with the pattern of local and global. It's a whole metaphore where the distance from the user also reflects the ordering. If both a local and a universal variable with the same name exists, the one closer to you overshadows the more distant variable, so the local value will be used. In spite of the distance metaphore, I am tempted to switch to 'block, session, system', but as I said, I fear the names 'global' and 'local' are so well known that it would be confusing for many people. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Fish-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fish-users > -- Axel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
