Re: Improvements

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

On Mon, 28 Aug 2000, you wrote:
> Will something be done about the problem that you have to have all routines
> that you use, before you? Because that's what I think is the real problem.

I see no problem here. The reason Euporia can load, interpret, and run
a 300 line program more quickly than gcc can compile a 3 line C program,
is that Euphoria doesn't have to do a lot of preprocessing and backtracking.
If you expect to scatter routines at random thru the code, then we'll have to
put up with that backtracking.  Declaring routines before use is no more
trouble than declaring them afterward, and having a consistent structure
makes a program easier to understand. That is: if you see a reference to
a variable or a function, you already know where to look for it. - in fact,
you should have already read the definition.

example:
quick now, how many parameters can be sent to the function zpar() ?
What value(s) does it return?
Don't know, do you?

You  would if it had been declared already!

  > The namespace problem you can avoid like this:WHAT_button. --

So, when I use an include file from Jiri, and another from Dave, I have to
rewrite the names of globals in one or both?  Not only does that invalidate the
"stamp", but when Jiri updates his file, I have to go in and modify  the new
one again? I don't see how that is any solution at all.

Regards,
Irv

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

Search



Quick Links

User menu

Not signed in.

Misc Menu