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. Quality of the articles

Quality of the articles

Scheduled Pinned Locked Moved The Lounge
csscomalgorithmslearning
46 Posts 25 Posters 5 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.
  • C Clickok

    In the last months I was less "rigorous" about the quality of the articles, because I'm writing my articles... but this[^] is a live "Daily WTF[^]" :wtf::omg: Snippet: Dim DeleteColZero As Boolean = True Dim DeleteColOne As Boolean = True Dim DeleteColTwo As Boolean = False Dim DeleteColThree As Boolean = False Dim DeleteColFour As Boolean = False Dim DeleteColFive As Boolean = False Dim DeleteColSix As Boolean = False Dim DeleteColSeven As Boolean = False Dim DeleteColEight As Boolean = False Dim DeleteColNine As Boolean = False Dim DeleteColTen As Boolean = False :wtf::omg:


    :sigh: Still searching for a good resource to LEARN English grammar ... :~
    For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

    E Offline
    E Offline
    ednrgc
    wrote on last edited by
    #41

    I see code like this whenever I go through outsourced code. My current company doesn't outsource, but I had several WTF moments in past assignments. I can't help but wonder if they are getting paid by line of code, and not the total functionality of the deliverable.

    1 Reply Last reply
    0
    • C Clickok

      In the last months I was less "rigorous" about the quality of the articles, because I'm writing my articles... but this[^] is a live "Daily WTF[^]" :wtf::omg: Snippet: Dim DeleteColZero As Boolean = True Dim DeleteColOne As Boolean = True Dim DeleteColTwo As Boolean = False Dim DeleteColThree As Boolean = False Dim DeleteColFour As Boolean = False Dim DeleteColFive As Boolean = False Dim DeleteColSix As Boolean = False Dim DeleteColSeven As Boolean = False Dim DeleteColEight As Boolean = False Dim DeleteColNine As Boolean = False Dim DeleteColTen As Boolean = False :wtf::omg:


      :sigh: Still searching for a good resource to LEARN English grammar ... :~
      For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

      E Offline
      E Offline
      ednrgc
      wrote on last edited by
      #42

      BTW: Was your WTF because it's in VB? :laugh:

      1 Reply Last reply
      0
      • C Colin Angus Mackay

        Vikram A Punathambekar wrote:

        Why did you remove the 'the'? The Lounge, the Soapbox... the Purgatory?

        That was explained here[^] In short. When the noun is a singleton the "the" is dropped. When it one instance of a class of many it needs an article ("a", "an", "one" or "the")


        Upcoming events: * Glasgow Geek Dinner (5th March) * Glasgow: Tell us what you want to see in 2007 My: Website | Blog | Photos

        V Offline
        V Offline
        Vikram A Punathambekar
        wrote on last edited by
        #43

        I still tend to disagree. (Not with your rule, but with dropping the 'the' before Purgatory.) We only have one Lounge, one SB and one Purgatory. Given that the Lounge and the SB are also singletons, are you saying the correct version is "Don't post programming questions in Lounge"? Also, the rule has many exceptions: Don't look at the Sun directly. He spent three years in the Crimea. The Gambia is surrounded by Senegal.

        Cheers, Vikram.


        "...we are disempowered to cultivate in their communities an inclination to assimilate to our culture." - Stan Shannon.

        C 1 Reply Last reply
        0
        • V Vikram A Punathambekar

          I still tend to disagree. (Not with your rule, but with dropping the 'the' before Purgatory.) We only have one Lounge, one SB and one Purgatory. Given that the Lounge and the SB are also singletons, are you saying the correct version is "Don't post programming questions in Lounge"? Also, the rule has many exceptions: Don't look at the Sun directly. He spent three years in the Crimea. The Gambia is surrounded by Senegal.

          Cheers, Vikram.


          "...we are disempowered to cultivate in their communities an inclination to assimilate to our culture." - Stan Shannon.

          C Offline
          C Offline
          Colin Angus Mackay
          wrote on last edited by
          #44

          Vikram A Punathambekar wrote:

          Given that the Lounge and the SB are also singletons, are you saying the correct version is "Don't post programming questions in Lounge"?

          They are not singletons. I have a lounge in my house, as to my parents. The lounge is one instance of a class. The Soapbox is something that many polititians stand on in order to tell the world their views. Just because here in Code Project there is only one lounge does not mean your drop the article. If you read any well written, grammatically correct, article on the subect of Purgatory you will see that it is never preceded by the word "the" or "a".

          Vikram A Punathambekar wrote:

          Don't look at the Sun directly.

          Incorrect, the sun is a single instance of a class that has many instantiations. There are many suns in our galaxy. (You can say "Don't look at Sol directly" - as there is only one instance of Sol, which is the name of our sun)

          Vikram A Punathambekar wrote:

          He spent three years in the Crimea.

          The correct form is "The Crimea" (note the capital T on The). The two words together make up a proper noun. I've also seen in many texts it refered to as simply "Crimea" also.

          Vikram A Punathambekar wrote:

          The Gambia is surrounded by Senegal.

          Again, "The Gambia" is a proper noun. Also, many people refer to it as simply "Gambia"


          Upcoming events: * Glasgow Geek Dinner (5th March) * Glasgow: Tell us what you want to see in 2007 My: Website | Blog | Photos

          V 1 Reply Last reply
          0
          • C Colin Angus Mackay

            Vikram A Punathambekar wrote:

            Given that the Lounge and the SB are also singletons, are you saying the correct version is "Don't post programming questions in Lounge"?

            They are not singletons. I have a lounge in my house, as to my parents. The lounge is one instance of a class. The Soapbox is something that many polititians stand on in order to tell the world their views. Just because here in Code Project there is only one lounge does not mean your drop the article. If you read any well written, grammatically correct, article on the subect of Purgatory you will see that it is never preceded by the word "the" or "a".

            Vikram A Punathambekar wrote:

            Don't look at the Sun directly.

            Incorrect, the sun is a single instance of a class that has many instantiations. There are many suns in our galaxy. (You can say "Don't look at Sol directly" - as there is only one instance of Sol, which is the name of our sun)

            Vikram A Punathambekar wrote:

            He spent three years in the Crimea.

            The correct form is "The Crimea" (note the capital T on The). The two words together make up a proper noun. I've also seen in many texts it refered to as simply "Crimea" also.

            Vikram A Punathambekar wrote:

            The Gambia is surrounded by Senegal.

            Again, "The Gambia" is a proper noun. Also, many people refer to it as simply "Gambia"


            Upcoming events: * Glasgow Geek Dinner (5th March) * Glasgow: Tell us what you want to see in 2007 My: Website | Blog | Photos

            V Offline
            V Offline
            Vikram A Punathambekar
            wrote on last edited by
            #45

            Colin Angus Mackay wrote:

            They are not singletons. I have a lounge in my house, as to my parents. The lounge is one instance of a class.

            In this context, they are.

            Colin Angus Mackay wrote:

            If you read any well written, grammatically correct, article on the subect of Purgatory you will see that it is never preceded by the word "the" or "a".

            I think we have to agree to disagree on this. However, you do have a point - Heaven and Hell are never prefixed with 'the'.

            Colin Angus Mackay wrote:

            Incorrect, the sun is a single instance of a class that has many instantiations.

            Again, this is a question of taste. The sun is a star like many others, but there is *one* Sun, and many stars. Aliens may beg to differ... ;P

            Colin Angus Mackay wrote:

            The correct form is "The Crimea" (note the capital T on The). The two words together make up a proper noun. I've also seen in many texts it refered to as simply "Crimea" also.

            Are you saying that the 'The' before 'Crimea' is simply a part of the name and not an article? :~ More exceptions to your original rule: * Hyderabad is considered the Queen of the Deccan. (there is only one Deccan) * Cairo is situated on the banks of the Nile. * The highest mountain range in the world is the Himalayas. A Scot and an Indian arguing on arcane aspects of English grammar. Hee hee. :-D

            Cheers, Vikram.


            "...we are disempowered to cultivate in their communities an inclination to assimilate to our culture." - Stan Shannon.

            C 1 Reply Last reply
            0
            • V Vikram A Punathambekar

              Colin Angus Mackay wrote:

              They are not singletons. I have a lounge in my house, as to my parents. The lounge is one instance of a class.

              In this context, they are.

              Colin Angus Mackay wrote:

              If you read any well written, grammatically correct, article on the subect of Purgatory you will see that it is never preceded by the word "the" or "a".

              I think we have to agree to disagree on this. However, you do have a point - Heaven and Hell are never prefixed with 'the'.

              Colin Angus Mackay wrote:

              Incorrect, the sun is a single instance of a class that has many instantiations.

              Again, this is a question of taste. The sun is a star like many others, but there is *one* Sun, and many stars. Aliens may beg to differ... ;P

              Colin Angus Mackay wrote:

              The correct form is "The Crimea" (note the capital T on The). The two words together make up a proper noun. I've also seen in many texts it refered to as simply "Crimea" also.

              Are you saying that the 'The' before 'Crimea' is simply a part of the name and not an article? :~ More exceptions to your original rule: * Hyderabad is considered the Queen of the Deccan. (there is only one Deccan) * Cairo is situated on the banks of the Nile. * The highest mountain range in the world is the Himalayas. A Scot and an Indian arguing on arcane aspects of English grammar. Hee hee. :-D

              Cheers, Vikram.


              "...we are disempowered to cultivate in their communities an inclination to assimilate to our culture." - Stan Shannon.

              C Offline
              C Offline
              Colin Angus Mackay
              wrote on last edited by
              #46

              Vikram A Punathambekar wrote:

              Colin Angus Mackay wrote: If you read any well written, grammatically correct, article on the subect of Purgatory you will see that it is never preceded by the word "the" or "a". I think we have to agree to disagree on this.

              Why? Can you show me an example of a well written article that puts "the" in front of the word "purgatory" when it is used as a noun? If you can, then I'll concede that you are right.

              Vikram A Punathambekar wrote:

              Again, this is a question of taste. The sun is a star like many others, but there is *one* Sun, and many stars. Aliens may beg to differ...

              :rolleyes:

              Vikram A Punathambekar wrote:

              Are you saying that the 'The' before 'Crimea' is simply a part of the name and not an article? More exceptions to your original rule: * Hyderabad is considered the Queen of the Deccan. (there is only one Deccan) * Cairo is situated on the banks of the Nile. * The highest mountain range in the world is the Himalayas.

              Yes, and the examples you give are all proper nouns too.

              Vikram A Punathambekar wrote:

              A Scot and an Indian arguing on arcane aspects of English grammar

              I know. But my native languge is only spoken by a small percentage of the population now. It was beaten out of us. (My mother was punished at school for using even short phrases of it)


              Upcoming events: * Glasgow Geek Dinner (5th March) * Glasgow: Tell us what you want to see in 2007 My: Website | Blog | Photos

              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