Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Miss Spelling

Miss Spelling

Scheduled Pinned Locked Moved The Lounge
question
17 Posts 13 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gary Huck
    wrote on last edited by
    #1

    I'm working on a code base which has *lots* of misspellings. Someone wrote a method by this name: StartInspectionDawnload() My question: Is that something that should only happen each morning? And at a different time each day? As [almost] a real question: Why do so many people leave code in place that has something spelled wrong?

    W R M D C 9 Replies Last reply
    0
    • G Gary Huck

      I'm working on a code base which has *lots* of misspellings. Someone wrote a method by this name: StartInspectionDawnload() My question: Is that something that should only happen each morning? And at a different time each day? As [almost] a real question: Why do so many people leave code in place that has something spelled wrong?

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #2

      Gary Huck wrote:

      StartInspectionDawnload()

      This is typical from people suffering dawn syndrom.

      Do not escape reality : improve reality !

      W 1 Reply Last reply
      0
      • G Gary Huck

        I'm working on a code base which has *lots* of misspellings. Someone wrote a method by this name: StartInspectionDawnload() My question: Is that something that should only happen each morning? And at a different time each day? As [almost] a real question: Why do so many people leave code in place that has something spelled wrong?

        W Offline
        W Offline
        W Balboos GHB
        wrote on last edited by
        #3

        Well, if it's referenced by an autocomplete function than that will always use the existing spelling. If it's used in multiple applications, then "fixing" it will break some of them. Would you like to chase down (or await user screams) as applications that have been working suddenly go belly up because the function call fails?

        Ravings en masse^

        "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

        "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

        R D 2 Replies Last reply
        0
        • W W Balboos GHB

          Well, if it's referenced by an autocomplete function than that will always use the existing spelling. If it's used in multiple applications, then "fixing" it will break some of them. Would you like to chase down (or await user screams) as applications that have been working suddenly go belly up because the function call fails?

          Ravings en masse^

          "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

          "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

          R Offline
          R Offline
          Rage
          wrote on last edited by
          #4

          W∴ Balboos wrote:

          user screams

          My asperger puts much more priority on sorting spelling errors than avoiding user screaming.

          Do not escape reality : improve reality !

          1 Reply Last reply
          0
          • R Rage

            Gary Huck wrote:

            StartInspectionDawnload()

            This is typical from people suffering dawn syndrom.

            Do not escape reality : improve reality !

            W Offline
            W Offline
            W Balboos GHB
            wrote on last edited by
            #5

            Hey - you're funny when you're in a good mood. To think, it didn't even take me eleven years to finally have an opportunity to notice.

            Ravings en masse^

            "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

            "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

            1 Reply Last reply
            0
            • G Gary Huck

              I'm working on a code base which has *lots* of misspellings. Someone wrote a method by this name: StartInspectionDawnload() My question: Is that something that should only happen each morning? And at a different time each day? As [almost] a real question: Why do so many people leave code in place that has something spelled wrong?

              M Offline
              M Offline
              Marc Clifton
              wrote on last edited by
              #6

              Gary Huck wrote:

              Why do so many people leave code in place that has something spelled wrong?

              Because they don't use an IDE that can find the legitimate references and automatically correct them? That at least is one my complaints with languages like Python, Ruby, and Javascript, and for that reason I've actually left the mistake in (but at least with # TODO: Fix spekking comment. ;) Marc

              Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

              B 1 Reply Last reply
              0
              • G Gary Huck

                I'm working on a code base which has *lots* of misspellings. Someone wrote a method by this name: StartInspectionDawnload() My question: Is that something that should only happen each morning? And at a different time each day? As [almost] a real question: Why do so many people leave code in place that has something spelled wrong?

                D Offline
                D Offline
                den2k88
                wrote on last edited by
                #7

                Once it gets in, if it's used by other sources not under your control, you're doomed to leave it in in some form or another - at the very least adding the corrected one, redirecting the misspelled one to the correct one and deprecating the former. The real question is: how come nobody checks anything before releasing? At least the interface functions should be checked and documented before release so have the time to make the necessary changes.

                GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani

                1 Reply Last reply
                0
                • M Marc Clifton

                  Gary Huck wrote:

                  Why do so many people leave code in place that has something spelled wrong?

                  Because they don't use an IDE that can find the legitimate references and automatically correct them? That at least is one my complaints with languages like Python, Ruby, and Javascript, and for that reason I've actually left the mistake in (but at least with # TODO: Fix spekking comment. ;) Marc

                  Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

                  B Offline
                  B Offline
                  Brisingr Aerowing
                  wrote on last edited by
                  #8

                  Spekking? Seems like you have the issue as well. :-\

                  What do you get when you cross a joke with a rhetorical question? The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism. Do questions with multiple question marks annoy you???

                  R 1 Reply Last reply
                  0
                  • B Brisingr Aerowing

                    Spekking? Seems like you have the issue as well. :-\

                    What do you get when you cross a joke with a rhetorical question? The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism. Do questions with multiple question marks annoy you???

                    R Offline
                    R Offline
                    Rage
                    wrote on last edited by
                    #9

                    That *might* have been done on purpose.

                    Do not escape reality : improve reality !

                    1 Reply Last reply
                    0
                    • G Gary Huck

                      I'm working on a code base which has *lots* of misspellings. Someone wrote a method by this name: StartInspectionDawnload() My question: Is that something that should only happen each morning? And at a different time each day? As [almost] a real question: Why do so many people leave code in place that has something spelled wrong?

                      C Offline
                      C Offline
                      Chris Maunder
                      wrote on last edited by
                      #10

                      Gary Huck wrote:

                      Why do so many people leave code in place that has something spelled wrong?

                      Because deep down we're evil and malicious. If it was hard to write it should be harder to understand and debug.

                      cheers Chris Maunder

                      G 1 Reply Last reply
                      0
                      • C Chris Maunder

                        Gary Huck wrote:

                        Why do so many people leave code in place that has something spelled wrong?

                        Because deep down we're evil and malicious. If it was hard to write it should be harder to understand and debug.

                        cheers Chris Maunder

                        G Offline
                        G Offline
                        Gary Huck
                        wrote on last edited by
                        #11

                        Now, that's the answer I was looking for! The other stuff, I get; no mysteries. Evil - now that answers it.

                        1 Reply Last reply
                        0
                        • G Gary Huck

                          I'm working on a code base which has *lots* of misspellings. Someone wrote a method by this name: StartInspectionDawnload() My question: Is that something that should only happen each morning? And at a different time each day? As [almost] a real question: Why do so many people leave code in place that has something spelled wrong?

                          realJSOPR Offline
                          realJSOPR Offline
                          realJSOP
                          wrote on last edited by
                          #12

                          Gary Huck wrote:

                          StartInspectionDawnload()

                          Maybe it's only executed early in the morning. Is this a snippet from Nitin Sawant's code? If so, that might go a long way towards explaining why his co-workers hate him.

                          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                          -----
                          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                          -----
                          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                          N 1 Reply Last reply
                          0
                          • G Gary Huck

                            I'm working on a code base which has *lots* of misspellings. Someone wrote a method by this name: StartInspectionDawnload() My question: Is that something that should only happen each morning? And at a different time each day? As [almost] a real question: Why do so many people leave code in place that has something spelled wrong?

                            T Offline
                            T Offline
                            Tim Carmichael
                            wrote on last edited by
                            #13

                            On a related note, the system I work on has a couple of million data collection points. Sometimes there are spelling errors in the point names; while it may seem prudent to correct them, if those points are used in calculations, that causes the calculation to fail... but only when the calculation engine is restarted. Otherwise, the calculation engine parses the input names at load time and then uses the internal point reference number - something that never changes. Some of the layered products (displays, etc.) use the collection point name, but, the newer products are maintaining the internal point reference number and, when a point is renamed, the change is made auto-magically in the newer products. So.. there is hope.

                            1 Reply Last reply
                            0
                            • G Gary Huck

                              I'm working on a code base which has *lots* of misspellings. Someone wrote a method by this name: StartInspectionDawnload() My question: Is that something that should only happen each morning? And at a different time each day? As [almost] a real question: Why do so many people leave code in place that has something spelled wrong?

                              J Offline
                              J Offline
                              jeron1
                              wrote on last edited by
                              #14

                              I think it's intensional, done just for the simple joy of watching people with OCD go nuts.

                              "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                              1 Reply Last reply
                              0
                              • W W Balboos GHB

                                Well, if it's referenced by an autocomplete function than that will always use the existing spelling. If it's used in multiple applications, then "fixing" it will break some of them. Would you like to chase down (or await user screams) as applications that have been working suddenly go belly up because the function call fails?

                                Ravings en masse^

                                "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                                "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                                D Offline
                                D Offline
                                Dan Neely
                                wrote on last edited by
                                #15

                                Even if you can't fix it everywhere because it's a shared library and you don't have control of all the consumers there's no excuse not to do something like this:

                                [Obsolete("Spelling error, use StartInspectionDownload() instead.", false)]
                                StartInspectionDawnload()
                                {
                                StartInspectionDownload();
                                }

                                StartInspectionDownload()
                                {
                                //Do Stuff
                                }

                                If you have a deprecation policy in place eventually (eg the major version after the one where it's deprecated) you can change the annotation from false to true and convert it from a compile time warning to an error.

                                Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                                1 Reply Last reply
                                0
                                • realJSOPR realJSOP

                                  Gary Huck wrote:

                                  StartInspectionDawnload()

                                  Maybe it's only executed early in the morning. Is this a snippet from Nitin Sawant's code? If so, that might go a long way towards explaining why his co-workers hate him.

                                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                  -----
                                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                  -----
                                  When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                  N Offline
                                  N Offline
                                  Nish Nishant
                                  wrote on last edited by
                                  #16

                                  John Simmons / outlaw programmer wrote:

                                  Is this a snippet from Nitin Sawant's code?

                                  I did not get the reference initially, then I scrolled down :-)

                                  Regards, Nish


                                  Website: www.voidnish.com Blog: voidnish.wordpress.com

                                  1 Reply Last reply
                                  0
                                  • G Gary Huck

                                    I'm working on a code base which has *lots* of misspellings. Someone wrote a method by this name: StartInspectionDawnload() My question: Is that something that should only happen each morning? And at a different time each day? As [almost] a real question: Why do so many people leave code in place that has something spelled wrong?

                                    T Offline
                                    T Offline
                                    TheGreatAndPowerfulOz
                                    wrote on last edited by
                                    #17

                                    Sounds like a Southerner (from the US South) wrote that method because it's spelled like they talk.

                                    #SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • World
                                    • Users
                                    • Groups