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. Other Discussions
  3. The Insider News
  4. C# coding style

C# coding style

Scheduled Pinned Locked Moved The Insider News
csharpphpcomtutorialquestion
28 Posts 8 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.
  • T TheGreatAndPowerfulOz

    spam

    If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
    You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

    R Offline
    R Offline
    Rob Grainger
    wrote on last edited by
    #18

    No its not. Its not trying to sell anything. Its certainly in the wrong forum, but that's something entirely different.

    "If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.

    T 1 Reply Last reply
    0
    • L Lost User

      Pete O'Hanlon wrote:

      but getting someone's name wrong is very disrespectful.

      Making a mistake is never disrespectful.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #19

      Doing it twice is, especially when you can see their name right there in front of you.

      L 1 Reply Last reply
      0
      • C Chris Jacobi

        Marc, thanks for your comment. I have never written a style guide for the English language. Only a fool or an elementary school teacher would make the effort to read what I have to say about the English language; I certainly cannot refute your statement on polish. I disagree on whatever is the proper length. When I researched style guides I found some very short and to the point guides; I ignored many simply because I couldn't see the reasoning behind what they were saying. There is a 350 page book "Framework Design Guidelines" (mostly C#) [Google]. I think it is well written and has interesting inserts from different personalities. Nevertheless, I ignored most of it, mostly because it doesn't respect the limits of my attention span. Somewhat because is too general and doesn't contain what is specially important for my startup. And lastly, they didn't dare to disagree loudly enough with other standards. I think having some wiggle room is treating my cowerkers as professional adults. For the same reason it has very little trivial content. Examples would be nice, but most is for the benefit of programming-in-the-large, where I find it difficult to make reasonable examples. "Policing" is not something I like to do; The people I want to work with earn respect and absence of being policed. If you think there is nothing unusual and most is common sense, I think that this is a compliment to me, but in my opinion it also compliments on you. What has "Agile" have to do with "style?" Good question, but I am taking some wiggle room myself defining what is style. In what other document could I ramble about obsessive agile-ness in a reasonable way? And for anybody who has read till here: Google Marc on CodeProject; he has written some nice articles. Chris www.whitehawksoftware.com Edited to spell Marc's name corrctly.

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

        I mostly agree with Marc that the baseline of the style guide should be short and to the point. Supplemental material explaining why can be helpful; but being able to fit the essentials onto at most a single sheet of paper so it can be stuck to the wall for easy reference by anyone new to the team is more useful. If you want to keep it in PDF form, the best option is probably just to add a 1 page short guide that only has the what not the why. If you're willing to switch to HTML format putting the explanation in default collapsed blocks would be better.

        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
        • R Rob Grainger

          No its not. Its not trying to sell anything. Its certainly in the wrong forum, but that's something entirely different.

          "If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.

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

          wrong forum = spam, and he's clearly advertising.

          If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
          You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
          Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

          1 Reply Last reply
          0
          • G Garth J Lancaster

            what makes you say that ? did you read his 'coding standards' - your post is actually more spam than his, since you barely managed to give a one-word reply

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #22

            I'd say that putting links into his post linking to his company which is aiming to have a commercial product out in the next month counts as spamming. The blog post was fine - the link to his company was gratuitous.

            D 1 Reply Last reply
            0
            • P Pete OHanlon

              Doing it twice is, especially when you can see their name right there in front of you.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #23

              Pete O'Hanlon wrote:

              Doing it twice is, especially when you can see their name right there in front of you.

              Call it a bug; one can overlook a simple typo quickly - let's not suggest that it has anything to do with respect.

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

              1 Reply Last reply
              0
              • P Pete OHanlon

                Please take the opportunity to spell Marc's name properly. I know you don't mean it, but getting someone's name wrong is very disrespectful.

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

                Marc doesn't need any help defending himself. He's got cred.

                If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
                You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
                Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

                P 1 Reply Last reply
                0
                • T TheGreatAndPowerfulOz

                  Marc doesn't need any help defending himself. He's got cred.

                  If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
                  You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
                  Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

                  P Offline
                  P Offline
                  Pete OHanlon
                  wrote on last edited by
                  #25

                  He's also got me. I'll go all Krav Maga on anyone who disses my main man.

                  T 1 Reply Last reply
                  0
                  • P Pete OHanlon

                    He's also got me. I'll go all Krav Maga on anyone who disses my main man.

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

                    Shields down! Deactivate waepons! At ease! Sounds like you need extended shore leave.

                    If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
                    You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
                    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

                    P 1 Reply Last reply
                    0
                    • T TheGreatAndPowerfulOz

                      Shields down! Deactivate waepons! At ease! Sounds like you need extended shore leave.

                      If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
                      You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
                      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

                      P Offline
                      P Offline
                      Pete OHanlon
                      wrote on last edited by
                      #27

                      Sounds like a plan to me.

                      1 Reply Last reply
                      0
                      • P Pete OHanlon

                        I'd say that putting links into his post linking to his company which is aiming to have a commercial product out in the next month counts as spamming. The blog post was fine - the link to his company was gratuitous.

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

                        His account is several years old. I lean strongly toward stupidity over malice.

                        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
                        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