February 21, 2006
Don Clugston wrote:
> 
>> Pointers are scary! 
> 
> I've heard this for decades, and I still don't really understand it.
> I've never found pointers to be worse than uninitialised variables.
> (in fact, I think many problems attributed to pointers are actually caused by uninitialised variables).
> 
> And the absolute worst is languages that don't require you to declare a variable before you use it. That's _really_ scary.

I agree on both counts.  And as for the latter... it's why I think languages like Lua are next to useless, as debugging them is an absolute nightmare.


Sean
February 21, 2006
On Wed, 22 Feb 2006 03:04:19 +1100, Don Clugston <dac@nospam.com.au> wrote:


> And the absolute worst is languages that don't require you to declare a variable before you use it. That's _really_ scary.

When you say 'before', are you saying that forward references are not a good thing? Or do you just mean 'before' in a temporal sense.

-- 
Derek Parnell
Melbourne, Australia
February 22, 2006
Derek Parnell wrote:
> On Wed, 22 Feb 2006 03:04:19 +1100, Don Clugston <dac@nospam.com.au> wrote:
> 
> 
>> And the absolute worst is languages that don't require you to declare a variable before you use it. That's _really_ scary.
> 
> When you say 'before', are you saying that forward references are not a good thing? Or do you just mean 'before' in a temporal sense.

In a temporal sense. You can strike out the words "before you use it".

> 
> --Derek Parnell
> Melbourne, Australia
1 2 3 4 5 6 7
Next ›   Last »