Re: Option Explicit



Everybody makes typographical errors. That is what people mean in this
thread by "garbage". It is not a reference to the quality of your code. If
you use a variable 50 times in your code, and misspell it once, in that one
instance it will be treated as a new variable if you do not require variable
declaration. The code may run, but you won't get the expected result, and
will be left to sort through your code line by line to figure out why. If
you require variable declaration, when you compile the code you will be
asked about the undeclared (i.e. misspelled) variable. This is my choice.
If you wish to make another choice (because you have always done it that
way, or because you feel the need to rebel against common methods, or
whatever), go for it.
However, leave the "totalitarianism" (if that's what you meant by
"tolitarism") stuff out of the discussion. You can take your incoherent
rants about Google somewhere else, too. Everybody who has replied uses
Option Explicit, and has told you why. Take the advice or leave it, but you
can get off of your persecution high horse any time now.

"Warrio" <warrio@xxxxxxxxxxx> wrote in message
news:4679205a$0$3782$5402220f@xxxxxxxxxxxxxxxxxx
Common sense can differ depending on what you want to do and on your
reasons... action = reaction (1st Newton low)
It's rather called tolitarism (only one opinion is right)

What I'm trying to say that I'm shocked to see people saying that there is
only one option that is right.

and I'm more disappointed to see an MVP treating someone's code of
garbage!!

That's really great

PS: Google is also going out of law by neglecting the right to the private
life... but they do it, and thanks to them to try to change the habits
based on old rules.
if you want to follow a rule, at least try to know why they were made!

Cheers!



"Albert D. Kallal" <PleaseNOOOsPAMmkallal@xxxxxxx> a écrit dans le message
de news: ughc73ysHHA.4796@xxxxxxxxxxxxxxxxxxxxxxx
"David W. Fenton" <XXXusenet@xxxxxxxxxxxxxxxxxxx> wrote in message

You should still use Option Explicit so you don't write garbage
code.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/

Yup...."garbage code" sums it up!!!

For me, it never been a debate...the *first* change in setting is to
ensure option explicit...

It much like putting a seat belt on...it not because it is a local
by-law, it because is common sense.....


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@xxxxxxx






.



Relevant Pages

  • Re: Option Explicit
    ... I became aggressive when I saw the people using Option Explicit trying to ... thread by "garbage". ... If you require variable declaration, ... and I'm more disappointed to see an MVP treating someone's code of ...
    (microsoft.public.access.formscoding)
  • Re: Option Explicit
    ... I became aggressive when I saw the people using Option Explicit trying to ... thread by "garbage". ... and I'm more disappointed to see an MVP treating someone's code of ... Google is also going out of law by neglecting the right to the ...
    (microsoft.public.access.formscoding)
  • Re: Option Explicit
    ... I tried to ignore all of that but after 5 or 6 messages of advice, ... anyone by my reaction to their advice, ... thread by "garbage". ... Option Explicit, ...
    (microsoft.public.access.formscoding)
  • Re: 8-Bit Designs "STATUS" Update!
    ... Anders Carlsson wrote: ... Uses Google Groups to access UseNet NEWS. ... Only because a lot of garbage comes from Google users, ... nicknames or handles as someone using a free e-mail provider. ...
    (comp.sys.cbm)
  • Re: Name & Number in one cell.
    ... In the current version of Google Groups "garbage" gets inserted into the web ... it should be Betty +4 and it will always 2 digits. ... In cell d1 I would like to show the name only (from cell a1 ...
    (microsoft.public.excel.worksheet.functions)