Re: Init variable on declare

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

c.k.lester wrote:
> 
> amux wrote:
> > 
> > I dream about this.
> > func name -- function
> > end name   -- end function
> > 
> > proc name2 -- procedure
> > end name2 -- end procedure
> 
> RobC,  how much of a speed increase could we  expect in execution if we
> reduced
> the tokens from 'function' to 'func' and 'procedure' to 'proc?' The
> interpreter
> would be looking for 50% less text for each token (66% for
> procedure)!!!!!!!!!!

Yuck! That's one of the things I like about Euphoria as-is. Not that it's
verbose, but for some reason it is more pleasing to me the way it is.

If you want to shorten the tokens you might as well just use the C-like braces!

--
"Any programming problem can be solved by adding a level of indirection."
--anonymous
"Any performance problem can be solved by removing a level of indirection."
--M. Haertel
"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare
j.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu