Hi

> > > ...But within a single process it is un-necessary. Either store the
> > > handle somewhere global (ugly but fine for small apps).
> >
> > You cannot be serious. Globals are bad all the time.
>
> Please don't argue about the use of globals.  They are valid legal
> programming code.

So is goto.

> Granted, they should be avoided, I agree, as it is
> against the idea of object orientated programming.  But not everyone is
> doing commercial programs etc etc and not everyone has the need to do it
> another way when a global is perfectly acceptable for their needs (ie:
ugly
> but fine for small apps).

This is just plain rubbish. If a job is worth doing it's worth doing
properly and people shouldn't get into bad habbits.

> I won't say anymore on the matter.

Good, I win. :-D

Regards
Paul

Paul Grenyer
email: [EMAIL PROTECTED]
web: http://www.paulgrenyer.co.uk
articles: http://www.paulgrenyer.dyndns.org/articles/

"15 miles to the love shack...."


_______________________________________________
msvc mailing list
msvc@beginthread.com
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to