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. Encodo C# Handbook

Encodo C# Handbook

Scheduled Pinned Locked Moved The Lounge
csharpcom
25 Posts 15 Posters 1 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.
  • K Offline
    K Offline
    Kevin McFarlane
    wrote on last edited by
    #1

    Encodo C# Handbook[^] This was a link from the MSDN C# dev centre. I'm finding it quite instructive. I don't agree with (or understand) it all but it's mostly pretty good. I'm always re-evaluating my style and practices. It's up to date with C# 3 btw.

    Kevin

    D B E 3 Replies Last reply
    0
    • K Kevin McFarlane

      Encodo C# Handbook[^] This was a link from the MSDN C# dev centre. I'm finding it quite instructive. I don't agree with (or understand) it all but it's mostly pretty good. I'm always re-evaluating my style and practices. It's up to date with C# 3 btw.

      Kevin

      D Offline
      D Offline
      Dalek Dave
      wrote on last edited by
      #2

      Does this count as a programming post? :-D

      ------------------------------------ "October: This is one of the peculiarly dangerous months to speculate in stocks in." - Mark Twain

      S N 2 Replies Last reply
      0
      • D Dalek Dave

        Does this count as a programming post? :-D

        ------------------------------------ "October: This is one of the peculiarly dangerous months to speculate in stocks in." - Mark Twain

        N Offline
        N Offline
        Nagy Vilmos
        wrote on last edited by
        #3

        Only if it's auto generated


        Panic, Chaos, Destruction. My work here is done.

        1 Reply Last reply
        0
        • D Dalek Dave

          Does this count as a programming post? :-D

          ------------------------------------ "October: This is one of the peculiarly dangerous months to speculate in stocks in." - Mark Twain

          S Offline
          S Offline
          swjam
          wrote on last edited by
          #4

          only if it's a question innit?

          ---------------------------------------------------------- "unzip; strip; touch; finger; mount; fsck; more; yes; unmount; sleep" - my daily unix command list

          1 Reply Last reply
          0
          • K Kevin McFarlane

            Encodo C# Handbook[^] This was a link from the MSDN C# dev centre. I'm finding it quite instructive. I don't agree with (or understand) it all but it's mostly pretty good. I'm always re-evaluating my style and practices. It's up to date with C# 3 btw.

            Kevin

            B Offline
            B Offline
            blackjack2150
            wrote on last edited by
            #5

            Who are these Encodo guys and why do we have to use their style? Has MS officially endorsed it?

            K M 2 Replies Last reply
            0
            • K Kevin McFarlane

              Encodo C# Handbook[^] This was a link from the MSDN C# dev centre. I'm finding it quite instructive. I don't agree with (or understand) it all but it's mostly pretty good. I'm always re-evaluating my style and practices. It's up to date with C# 3 btw.

              Kevin

              E Offline
              E Offline
              Ennis Ray Lynch Jr
              wrote on last edited by
              #6

              There is a special circle of hell for the bigots that write these documents. There, I said it, flame me if you wish. I will be busy writing good code that doesn't conform. BTW, to admit hypocrisy, I once wrote a style guide. It was only two pages long, incorporated everything, and would have fixed 90% (I am not exaggerating) of the problems on the project it was written for, and was flexible enough, to gasp, accommodate people. The reason it was rejected was not because of content, the content was approved and lauded. It was rejected because a style guide that small was not believable and they wanted a massive all controlling document that left nothing to choice. The real irony is that style guide is somehow read as style law?

              Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
              Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
              Most of this sig is for Google, not ego.

              P K S C P 6 Replies Last reply
              0
              • B blackjack2150

                Who are these Encodo guys and why do we have to use their style? Has MS officially endorsed it?

                K Offline
                K Offline
                Kevin McFarlane
                wrote on last edited by
                #7

                You don't have to use anything. :) However, the document is not all style. Much of it is about practice and, as such, is more objective than mere style. The Encodo handbook is a sort of superset of MS's Design Guidelines for Developing Class Libraries. Whenever I see guidelines such as these I use them as things to think about and then I may adopt various suggestions as takes my fancy.

                Kevin

                1 Reply Last reply
                0
                • E Ennis Ray Lynch Jr

                  There is a special circle of hell for the bigots that write these documents. There, I said it, flame me if you wish. I will be busy writing good code that doesn't conform. BTW, to admit hypocrisy, I once wrote a style guide. It was only two pages long, incorporated everything, and would have fixed 90% (I am not exaggerating) of the problems on the project it was written for, and was flexible enough, to gasp, accommodate people. The reason it was rejected was not because of content, the content was approved and lauded. It was rejected because a style guide that small was not believable and they wanted a massive all controlling document that left nothing to choice. The real irony is that style guide is somehow read as style law?

                  Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                  Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
                  Most of this sig is for Google, not ego.

                  P Offline
                  P Offline
                  PIEBALDconsult
                  wrote on last edited by
                  #8

                  Post it!

                  E 1 Reply Last reply
                  0
                  • E Ennis Ray Lynch Jr

                    There is a special circle of hell for the bigots that write these documents. There, I said it, flame me if you wish. I will be busy writing good code that doesn't conform. BTW, to admit hypocrisy, I once wrote a style guide. It was only two pages long, incorporated everything, and would have fixed 90% (I am not exaggerating) of the problems on the project it was written for, and was flexible enough, to gasp, accommodate people. The reason it was rejected was not because of content, the content was approved and lauded. It was rejected because a style guide that small was not believable and they wanted a massive all controlling document that left nothing to choice. The real irony is that style guide is somehow read as style law?

                    Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                    Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
                    Most of this sig is for Google, not ego.

                    K Offline
                    K Offline
                    Kevin McFarlane
                    wrote on last edited by
                    #9

                    Ennis Ray Lynch, Jr. wrote:

                    There is a special circle of hell for the bigots that write these documents.

                    Well, to be fair this document is not entirely about style. Some of it is about practice, which is more objective.

                    Ennis Ray Lynch, Jr. wrote:

                    The real irony is that style guide is somehow read as style law?

                    Yes, the operative word should be "guide."

                    Kevin

                    M 1 Reply Last reply
                    0
                    • E Ennis Ray Lynch Jr

                      There is a special circle of hell for the bigots that write these documents. There, I said it, flame me if you wish. I will be busy writing good code that doesn't conform. BTW, to admit hypocrisy, I once wrote a style guide. It was only two pages long, incorporated everything, and would have fixed 90% (I am not exaggerating) of the problems on the project it was written for, and was flexible enough, to gasp, accommodate people. The reason it was rejected was not because of content, the content was approved and lauded. It was rejected because a style guide that small was not believable and they wanted a massive all controlling document that left nothing to choice. The real irony is that style guide is somehow read as style law?

                      Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                      Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
                      Most of this sig is for Google, not ego.

                      S Offline
                      S Offline
                      Simon P Stevens
                      wrote on last edited by
                      #10

                      I second what PIEBALDconsult said. Post it.

                      Simon

                      1 Reply Last reply
                      0
                      • P PIEBALDconsult

                        Post it!

                        E Offline
                        E Offline
                        Ennis Ray Lynch Jr
                        wrote on last edited by
                        #11

                        I will think about re-authoring it and publishing it, however, I can't post it as it is a confidential document that doesn't belong to me. (What a silly cop-out, no?)

                        Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                        Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
                        Most of this sig is for Google, not ego.

                        J B 2 Replies Last reply
                        0
                        • E Ennis Ray Lynch Jr

                          There is a special circle of hell for the bigots that write these documents. There, I said it, flame me if you wish. I will be busy writing good code that doesn't conform. BTW, to admit hypocrisy, I once wrote a style guide. It was only two pages long, incorporated everything, and would have fixed 90% (I am not exaggerating) of the problems on the project it was written for, and was flexible enough, to gasp, accommodate people. The reason it was rejected was not because of content, the content was approved and lauded. It was rejected because a style guide that small was not believable and they wanted a massive all controlling document that left nothing to choice. The real irony is that style guide is somehow read as style law?

                          Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                          Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
                          Most of this sig is for Google, not ego.

                          C Offline
                          C Offline
                          CPallini
                          wrote on last edited by
                          #12

                          I do agree. There should be just a (possibly short) style guide. :)

                          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                          [My articles]

                          1 Reply Last reply
                          0
                          • E Ennis Ray Lynch Jr

                            There is a special circle of hell for the bigots that write these documents. There, I said it, flame me if you wish. I will be busy writing good code that doesn't conform. BTW, to admit hypocrisy, I once wrote a style guide. It was only two pages long, incorporated everything, and would have fixed 90% (I am not exaggerating) of the problems on the project it was written for, and was flexible enough, to gasp, accommodate people. The reason it was rejected was not because of content, the content was approved and lauded. It was rejected because a style guide that small was not believable and they wanted a massive all controlling document that left nothing to choice. The real irony is that style guide is somehow read as style law?

                            Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                            Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
                            Most of this sig is for Google, not ego.

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

                            Ennis Ray Lynch, Jr. wrote:

                            It was rejected because a style guide that small was not believable and they wanted a massive all controlling document that left nothing to choice.

                            That's quality control for you - it's quantity not quality.

                            Deja View - the feeling that you've seen this post before.

                            My blog | My articles | MoXAML PowerToys

                            1 Reply Last reply
                            0
                            • E Ennis Ray Lynch Jr

                              There is a special circle of hell for the bigots that write these documents. There, I said it, flame me if you wish. I will be busy writing good code that doesn't conform. BTW, to admit hypocrisy, I once wrote a style guide. It was only two pages long, incorporated everything, and would have fixed 90% (I am not exaggerating) of the problems on the project it was written for, and was flexible enough, to gasp, accommodate people. The reason it was rejected was not because of content, the content was approved and lauded. It was rejected because a style guide that small was not believable and they wanted a massive all controlling document that left nothing to choice. The real irony is that style guide is somehow read as style law?

                              Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                              Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
                              Most of this sig is for Google, not ego.

                              B Offline
                              B Offline
                              Boro_Bob
                              wrote on last edited by
                              #14

                              Totally agree with you. I had a look at that link, and just couldn't be bothered with that guide after a couple of pages. You could guess its been commissioned by a big company, with a team of people sitting through meeting after meeting, for months on end until they could come up with something that everyone would agree to. And they end up with a document so long its virtually unfit for purpose.

                              Words fade as the meanings change, but somehow, it don't bother me.

                              1 Reply Last reply
                              0
                              • E Ennis Ray Lynch Jr

                                I will think about re-authoring it and publishing it, however, I can't post it as it is a confidential document that doesn't belong to me. (What a silly cop-out, no?)

                                Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                                Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
                                Most of this sig is for Google, not ego.

                                J Offline
                                J Offline
                                Jim Crafton
                                wrote on last edited by
                                #15

                                What if we create a fake company, that fake hires you, on a fake project to create a "style guide" for our new fake project. In the process, we, the fake company, agree that publishing your guide would be a wonderful idea, and allow you free reign to do so. I've got a fake contract ready to go...

                                ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                                E 1 Reply Last reply
                                0
                                • J Jim Crafton

                                  What if we create a fake company, that fake hires you, on a fake project to create a "style guide" for our new fake project. In the process, we, the fake company, agree that publishing your guide would be a wonderful idea, and allow you free reign to do so. I've got a fake contract ready to go...

                                  ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                                  E Offline
                                  E Offline
                                  Ennis Ray Lynch Jr
                                  wrote on last edited by
                                  #16

                                  mmmm, Fake compensation, yummy.

                                  Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                                  Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
                                  Most of this sig is for Google, not ego.

                                  D J 2 Replies Last reply
                                  0
                                  • E Ennis Ray Lynch Jr

                                    mmmm, Fake compensation, yummy.

                                    Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                                    Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
                                    Most of this sig is for Google, not ego.

                                    D Offline
                                    D Offline
                                    Dalek Dave
                                    wrote on last edited by
                                    #17

                                    Daft Faker, leader of the Microsoft Imperial Fleet?

                                    ------------------------------------ "October: This is one of the peculiarly dangerous months to speculate in stocks in." - Mark Twain

                                    1 Reply Last reply
                                    0
                                    • E Ennis Ray Lynch Jr

                                      mmmm, Fake compensation, yummy.

                                      Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                                      Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
                                      Most of this sig is for Google, not ego.

                                      J Offline
                                      J Offline
                                      Jim Crafton
                                      wrote on last edited by
                                      #18

                                      Plus, with the new McCain-Obama Tax Plan, there is NO tax on fake compensation under 2 billion dollars.

                                      ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                                      T 1 Reply Last reply
                                      0
                                      • E Ennis Ray Lynch Jr

                                        I will think about re-authoring it and publishing it, however, I can't post it as it is a confidential document that doesn't belong to me. (What a silly cop-out, no?)

                                        Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                                        Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
                                        Most of this sig is for Google, not ego.

                                        B Offline
                                        B Offline
                                        blackjack2150
                                        wrote on last edited by
                                        #19

                                        Modify it so it doesn't have any proprietary stuff and post it as an article. Dare!

                                        M 1 Reply Last reply
                                        0
                                        • J Jim Crafton

                                          Plus, with the new McCain-Obama Tax Plan, there is NO tax on fake compensation under 2 billion dollars.

                                          ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                                          T Offline
                                          T Offline
                                          Todd Smith
                                          wrote on last edited by
                                          #20

                                          The Cake is a Fake.

                                          Todd Smith

                                          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