>> On 02/05/2007, at 12:04 AM, Norman Palardy wrote:
>>
>>> This starts to border on religion.
>>> How the heck did people write good software in C, Pascal or RB when
>>> this capability was not available ?
>>
>> As far as C is concerned, I've used block-scoped declarations for
>> years.
>
> Yes.
> Forcing a new cope level with {} was a trick you could use.
> Many did.

Block scoping was more a C++ trick to be honest. It allowed for  
better control of object destructors.

C doesn't really have so much speed loss with variables, if you don't  
initialise it to a value....

I suppose tighter scopnig of variables may make the optimisers job  
easier, though.

--
http://elfdata.com/plugin/
"String processing, done right"


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to