Re: Initializing variables on declarations

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

Robert Craig wrote:
> 
> Michael J. Sabal wrote:
> > Okay, I'm about to do it again.  I was looking at the Euphoria source and 
> > the list of open feature requests, and I think this change can be done with
> > minimal code.
> > 
 > Current syntax:
> > [global] integer x  x = 5
> > 
> > Desired syntax:
> > [global] integer x = 5

> If a clear majority wants this, and someone is prepared to do it,
> I would go along with it (though I still don't think it's
> a particularly good idea.) However if you do it for global 
> (and local to a file) declarations, why not privates (inside a routine) 
> as well?
> 
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a>

Clear majority? ... of the developers, contributors to the 
recent contributions page? ... not sure if I have voting
rights... but, for what its worth, I vote for initialization of
variables on declaration for global, local to a file and & privates.


Ken Rhodes
Folding at Home: http://folding.stanford.edu/
100% MicroSoft Free
SuSE Linux 10.0
No AdWare, SpyWare, or Viruses!
Life is Good,  smile

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

Search



Quick Links

User menu

Not signed in.

Misc Menu