[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Say No to global-by-default
- From: Sean Conner <sean@...>
- Date: Thu, 5 Jul 2018 18:35:34 -0400
It was thus said that the Great Gregg Reynolds once stated:
> On Wed, Jul 4, 2018, 5:58 PM Sean Conner <sean@conman.org> wrote:
>
> > is, to me, be correct---'baa' is false orthography [1] of "baz" (per
> > Oxford); I spelled 'baz' (a word or name and in this case, it's a name)
> > incorrectly (per Merriam-Webster).
>
> You and I may know that, but the compiler does not. It just sees a string.
>
> And I deny that 'baa' is a mispelling of 'baz' - obviously it is a
> misspelling of 'bar'. Or maybe 'foo'. The compiler cannot possibly know,
> unless it is smart enough to know what program you intended to write.
To further clarify, when the C compiler spits out:
a.c:5: error: aa' undeclared (first use in this function)
I think, "Gee, I misspelled baz *again*. Sigh." and I go and fix it. I do
*NOT* think "Gee, I introduced an undeclared identifier; I must ponder if I
meant 'baz' or 'foo' in this instance." You are correct in that the C
compiler does not know if I meant 'baz' or 'foo'.
Then again ...
[spc]brevard:~>git statuu
git: 'statuu' is not a git-command. See 'git --help'.
Did you mean this?
status
[spc]brevard:~>
Hmmmm ...
-spc (Still consider you a pedantic weenie ... )
- References:
- Re: Say No to global-by-default, Egor Skriptunoff
- Re: Say No to global-by-default, Gregg Reynolds
- Re: Say No to global-by-default, Sean Conner
- Re: Say No to global-by-default, Gregg Reynolds
- Re: Say No to global-by-default, Sean Conner
- Re: Say No to global-by-default, Gregg Reynolds
- Re: Say No to global-by-default, Sean Conner
- Re: Say No to global-by-default, Gregg Reynolds
- Re: Say No to global-by-default, Sean Conner
- Re: Say No to global-by-default, Gregg Reynolds