Re: Feature suggestion: without keyword=

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

Jeremy Cowgar wrote:
> 
> Arthur Crump wrote:
> > 
> > > > without keyword = <comma separated list on one line>
> > seems like a good idea.  Perhaps restricted to new keywords.
> > If Jeremy Cowgar doesn't want to use it, there is no need to.
> > 
> 
> It's not a matter of if John or Jane will use it, it's a matter of what's best
> for the entire community. I think we need some more discussion on this. Any
> other thoughts from others?

I think it's a good idea that might not be economic to implement.  The idea
seems to be allowing code written for 4.0 using an identifier (eg 'xxxxxx') which
later becomes a keyword in 4.1x to be run in 4.1x by ignoring the fact that
'xxxxxx' is a keyword now.

I think the case is very common, for example using "continue" as a loop control
variable ('while continue do'), but I think a search and replace could cure that
in 3 seconds vs. X hours to implement/test/document 'please ignore this' in the
interpreter.

I also think its use would be limited to new programs include'ing old includes
because if you were trying to run an 'old' program you would have to edit it
anyway to add the 'without keywords....' for either the program or its includes.
So you may as well search/replace the identifier in question at the time of doing
that.

However it would be a very handy feature if you were using a lot of Euphoria
includes on a network drive or server host environment that you absolutely could
not get updated.

So my position is, if someone wants to do it and it doesn't have any adverse
effects, then I'm neither for nor against it.
smile

Gary

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

Search



Quick Links

User menu

Not signed in.

Misc Menu