<raises hand> Mea culpa!

Is anyone else?

I kinda figure if you write code, maybe you have to kinda be one?

Just found this with "show tables" in an app's DB:

software_users
software_auth
software_statistics
software_settings
software_langauge

Wondered how annoyed the writer(s) were when they finally realized what they'd done and have to type that tablename over and over throughout the whole system ...

    I have found that compilers and interpreters tend to be grammar nazis.

      laserlight;11049251 wrote:

      I have found that compilers and interpreters tend to be grammar nazis.

      Darn tootin' 😃

        Oh, and in the same application, a DATETIME column in an IP Address Logging table called "lastsceen" .... :rolleyes:

        I guess it's a good thing that RDBMS' aren't so draconian with speling and stoof liek dat? 😃

          One thing I like about PHPStorm is that it spell-checks in camelCaseLiterate and underscore_literate manner.

          PS: spelling errors != grammar errors. 😉

            Yeah, yeah, but when's the last time you called someone a "spelling nazi", eh? 😉

            Oh, and another question for purists ... is a "parse error" == "syntax error"?

              I had to work on a system where words like "Wedenesday" and "brithday" were present in pretty much every namespace around - variable names, function names, table names.... and everything from comments to UI text. And speaking of UI, the text for indicating that no records were found for a query (copy-pasted everywhere a result set would be displayed) was "Have No Record". Oh, except for one location where it hadn't been translated from the developers' native language.

              Oh, and the developers also enjoyed writing things like

              function foo($bar, $baz=null, $wibble=object, $womble)
              {...}
              

              And the code itself wasn't up to much either.

              dalecosp wrote:

              Oh, and another question for purists ... is a "parse error" == "syntax error"?

              I think the former is strictly speaking a superset of the latter: an error during the parsing of the source vs. an error in the syntax of the source being parsed; parse errors might therefore occur for reasons other than bad syntax (parser bugs).

                I had to work on a system where words like "Wedenesday" and "brithday" were present in pretty much every namespace around - variable names, function names, table names.... and everything from comments to UI text. And speaking of UI, the text for indicating that no records were found for a query (copy-pasted everywhere a result set would be displayed) was "Have No Record". Oh, except for one location where it hadn't been translated from the developers' native language.

                Sorry to hear that, Wedepakcet.

                I can't live with spelling errors in table names and columns, or in js or php components I download.
                I correct any that I know are under my control.
                Seeing a misspelling triggers an internal error message and I prefer to clear those out.

                  cretaceous;11049305 wrote:

                  I can't live with spelling errors in table names and columns, or in js or php components I download.
                  I correct any that I know are under my control.
                  Seeing a misspelling triggers an internal error message and I prefer to clear those out.

                  If you import a component from one of us Yanks, would you do a global search replace on "color" to change it to "colour"? 🙂

                    Ah .. color and colour - they're on a flip flop mechanism - when working I type color even in comments or var names
                    Only when writing emails does the u get added.

                    I have a project I do with another guy and I always have to correct his emails and project proposals... his English is awful.
                    But of course he now examines anything I write and delights in pointing out any errors .. which leaves me deflated and bitter.

                      Was the editor of Mein Kampf the first grammar Nazi? 😉

                      A former employee here used to write "rotater" and it was in the code and in the UI of the project. Drove me bonkers. I understand that technically rotator isn't actually a word, but I think it follows along similar English rules (such as the word rotor). Furthermore you just have to do a simple search online and find results for "rotator".

                      To chime in my two (Canadian) cents regarding the color vs. colour thing... we kinda have the best of both worlds. Those in the UK will add in the extra "u" and use an "s" in words like "organisation". Those in the US will omit the "u" and use a "z" in the same words. Here in Canada we add in the "u" and use the "z". Fun times. 🙂

                        cretaceous;11049305 wrote:

                        I can't live with spelling errors in table names and columns, or in js or php components I download.
                        I correct any that I know are under my control.
                        Seeing a misspelling triggers an internal error message and I prefer to clear those out.

                        I'm even so pedantic that I correct other people's comments ... or else post another one laughing at their mistake....

                        common.php wrote:
                                 * This method is for trimming (trunkating)    // Gee, dude, I'm getting tired of
                                 * large strings to a specified length without // phixing ur speling.  webmaster@, 4/3/11
                                 * breaking in the middle of a word.

                          Can I just throw out here that the word "instantiate" does not contain a 'c'?

                          Oh, and that "rotator" is a perfectly legitimate word with an etymological pedigree?

                            There's something about finding these imprecisions in code that triggers an uneasy feeling in one's mind. Coding is precise. Grammar is similarly precise, as is spelling. And then there are grammars. That someone can't distinguish "their" from "there" from "they're" or "your" from "you're" just introduces the sneaking suspicion that the author's life is just one goddamn lazy shortcut after another.

                            On a related note, I find myself thinking a lot about Wedepakcet's old signature from Babbage: "I am not able rightly to apprehend the kind of confusion of ideas that could lead to such a question" or something to that effect.

                            But then it's easy to disparage those of lesser abilities once you've had the awakening. And it's hard to keep the fire burning in one's belly to continue to make advances and memorize stuff and wade through the RFC's which, for all their technical rigour [sic] are certainly not entertaining to read. I'm just glad I've had you guys to drag me kicking and screaming out of the darkness.

                              I must point out, however, that there is a difference between the fact that I completely understand the difference between "there" and "their" and "they're", versus my convoluted brain's tendency at times to have my fingers type what it hears versus what the compositional part of my brain was seeing. 😉

                                NogDog;11049469 wrote:

                                I must point out, however, that there is a difference between the fact that I completely understand the difference between "there" and "their" and "they're", versus my convoluted brain's tendency at times to have my fingers type what it hears versus what the compositional part of my brain was seeing. 😉

                                +1 for pressure ... we get paid to type things, so we try and do it quickly because time is important and should really be used for things like forum posts! :p

                                  dalecosp;11049473 wrote:

                                  +1 for pressure ... we get paid to type things, so we try and do it quickly because time is important and should really be used for things like forum posts! :p

                                  Speaking of pressure. Anyone else have sore arms?

                                    Hmm ... occasionally have "numbness" around the wrists ... I try to scratch my head/pits/arse or pick my nose frequently to get my wrists off the desk once in a while (a cushy wrist pad helps a bit too!)