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. Uh-Oh

Uh-Oh

Scheduled Pinned Locked Moved The Lounge
csharpannouncement
47 Posts 24 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.
  • D Dirk Higbee

    Jim Crafton wrote:

    fellow practitioner

    you mean proctologist? :-D

    My Blog: http://cynicalclots.blogspot.com

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

    clearly your mind's in a dirty place!

    ¡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

    1 Reply Last reply
    0
    • P Pete OHanlon

      Dirk Higbee wrote:

      you'll have to hear about all his great accomplishments while he's shining the bosses' knob

      On his door?

      "WPF has many lovers. It's a veritable porn star!" - Josh Smith

      My blog | My articles | MoXAML PowerToys

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

      unless you can think of a better place to hang it...

      ¡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

      1 Reply Last reply
      0
      • realJSOPR realJSOP

        New guy started today, and he's very - ummm - "excited" about coding guidelines. Seems he also doesn't like private member variables since they're "not necessary" in the latest version of C# (and a number of other ideas I don't agree with him on). I suggested that all of the programmers (there are four of us right now) take a small class, and change it to their own style of coding, and then we compare notes in a meeting, taking the best of the lot (in other words, the things we agree on) and establishing a coding style guidelines document.

        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

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

        Coding Guidelines are the first step towards project failure. I wish you luck.

        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.

        T C 2 Replies Last reply
        0
        • realJSOPR realJSOP

          New guy started today, and he's very - ummm - "excited" about coding guidelines. Seems he also doesn't like private member variables since they're "not necessary" in the latest version of C# (and a number of other ideas I don't agree with him on). I suggested that all of the programmers (there are four of us right now) take a small class, and change it to their own style of coding, and then we compare notes in a meeting, taking the best of the lot (in other words, the things we agree on) and establishing a coding style guidelines document.

          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
          -----
          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

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

          Wow - that's likely to be one heck of a meeting! Like others, I'm little surprised you didn't tell him where to put his private member variables! My suggestion is that, after writing your class you should also each write a justification of each style used - so in the meeting it's not just a case of "this is better because I like it better". So - if he likes to use automatic properties (or whatever they are called) and you don't, then each of you will have to justify your reasons - anyone sitting on the fence can then vote after hearing the logic. Sometimes it's pretty difficult for developers to explain why they like a particular style - which can lead you to realise it's just because that's how they've always done it. Just make sure nobody falls for the 'well, it's in the new version so it must be better" - i they do, just mumble WWF or WPF.

          If I knew then what I know today, then I'd know the same now as I did then - then what would be the point? .\\axxx (That's an 'M')

          1 Reply Last reply
          0
          • E Ennis Ray Lynch Jr

            Coding Guidelines are the first step towards project failure. I wish you luck.

            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.

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

            Ennis Ray Lynch, Jr. wrote:

            Coding Guidelines are the first step towards project failure.

            Python enforces coding guidelines as part of the language. Are you saying it's a failure :D

            Todd Smith

            E 1 Reply Last reply
            0
            • T Todd Smith

              Ennis Ray Lynch, Jr. wrote:

              Coding Guidelines are the first step towards project failure.

              Python enforces coding guidelines as part of the language. Are you saying it's a failure :D

              Todd Smith

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

              Or have any experience with. However, I have never seen a business application succeed after talk began about the importance of Coding Guidelines.

              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.

              1 Reply Last reply
              0
              • realJSOPR realJSOP

                New guy started today, and he's very - ummm - "excited" about coding guidelines. Seems he also doesn't like private member variables since they're "not necessary" in the latest version of C# (and a number of other ideas I don't agree with him on). I suggested that all of the programmers (there are four of us right now) take a small class, and change it to their own style of coding, and then we compare notes in a meeting, taking the best of the lot (in other words, the things we agree on) and establishing a coding style guidelines document.

                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

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

                I'd much rather work somewhere that has a strong coding standard that I dislike than have a free for all. Nothing shits me more than projects where every bloody file is formatted differently. The other thing that shits me to tears is when someone makes a small change to code I wrote and re formats the whole file. When you use a diff to review the change you have to wade through pages of pointless modifications to find the actual change.

                G S 2 Replies Last reply
                0
                • realJSOPR realJSOP

                  New guy started today, and he's very - ummm - "excited" about coding guidelines. Seems he also doesn't like private member variables since they're "not necessary" in the latest version of C# (and a number of other ideas I don't agree with him on). I suggested that all of the programmers (there are four of us right now) take a small class, and change it to their own style of coding, and then we compare notes in a meeting, taking the best of the lot (in other words, the things we agree on) and establishing a coding style guidelines document.

                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                  -----
                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

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

                  Might I suggest mercury fulminate paint on the half the keys of his keyboard?

                  Visit http://www.notreadytogiveup.com/[^] and do something special today.

                  G 1 Reply Last reply
                  0
                  • T Todd Smith

                    John Simmons / outlaw programmer wrote:

                    Seems he also doesn't like private member variables since they're "not necessary" in the latest version of C# (and a number of other ideas I don't agree with him on).

                    With automatic properties that's somewhat true. The private member is created for you. So coding guidelines should be updated to incorporate that feature. If he means there's no longer any use for private member variables then of course he's mistaken and should be thrown out with the rest of the garbage :D

                    Todd Smith

                    E Offline
                    E Offline
                    Ed Poore
                    wrote on last edited by
                    #23

                    The trouble is that stuff like INotifyPropertyChanged interfaces don't work and if you're using VS2008 there's reasonable chance you're going to try WPF so you've got to write all the properties yourself anyway.

                    1 Reply Last reply
                    0
                    • J Jim Crafton

                      Uhm, what happened to you? Did you just finish a chick flick movie marathon? Feeling weepy and inclusive? The real John Simmons would have told him to shut his pie hole, stop breathing, and sit his ass back on down, thank you very much, oh and while you're at it, get me a fresh cup of coffee newbie! "Compare notes in a meeting", c'mon, get real!

                      ¡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

                      G Offline
                      G Offline
                      Gary R Wheeler
                      wrote on last edited by
                      #24

                      Jim Crafton wrote:

                      oh and while you're at it, get me a fresh cup of coffee newbie

                      Oh, and while you're at it, get me a fresh cup of coffee, bitch. (fixed your typo)

                      Software Zen: delete this;
                      Fold With Us![^]

                      J 1 Reply Last reply
                      0
                      • J Jim Crafton

                        (clap, clap, clap) - very good Pete, much, much better than mine, plus the reference to gonads again is a nice way to close out the year!

                        ¡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

                        G Offline
                        G Offline
                        Gary R Wheeler
                        wrote on last edited by
                        #25

                        FERRETS!

                        Software Zen: delete this;
                        Fold With Us![^]

                        1 Reply Last reply
                        0
                        • L Lost User

                          I'd much rather work somewhere that has a strong coding standard that I dislike than have a free for all. Nothing shits me more than projects where every bloody file is formatted differently. The other thing that shits me to tears is when someone makes a small change to code I wrote and re formats the whole file. When you use a diff to review the change you have to wade through pages of pointless modifications to find the actual change.

                          G Offline
                          G Offline
                          Gary R Wheeler
                          wrote on last edited by
                          #26

                          My boss has done that a couple of times to me. He's infected by a mild case of Hungarian notation, and has been known to rename stuff that I've added to shared code because I hate it.

                          Software Zen: delete this;
                          Fold With Us![^]

                          1 Reply Last reply
                          0
                          • L Lost User

                            Might I suggest mercury fulminate paint on the half the keys of his keyboard?

                            Visit http://www.notreadytogiveup.com/[^] and do something special today.

                            G Offline
                            G Offline
                            Gary R Wheeler
                            wrote on last edited by
                            #27

                            For the less excitable among us: mercury fulminate[^].

                            Software Zen: delete this;
                            Fold With Us![^]

                            M 1 Reply Last reply
                            0
                            • realJSOPR realJSOP

                              New guy started today, and he's very - ummm - "excited" about coding guidelines. Seems he also doesn't like private member variables since they're "not necessary" in the latest version of C# (and a number of other ideas I don't agree with him on). I suggested that all of the programmers (there are four of us right now) take a small class, and change it to their own style of coding, and then we compare notes in a meeting, taking the best of the lot (in other words, the things we agree on) and establishing a coding style guidelines document.

                              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                              -----
                              "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

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

                              I know I benefitted from having a coding standards document handed to me when I began on one of my early jobs. (My current style may not show it, but that's because I've been out of a team environment for a while now.) Every organization should have one... though some get too detailed. The "senior" developers should have already had a session where you agreed on the standard.

                              1 Reply Last reply
                              0
                              • G Gary R Wheeler

                                Jim Crafton wrote:

                                oh and while you're at it, get me a fresh cup of coffee newbie

                                Oh, and while you're at it, get me a fresh cup of coffee, bitch. (fixed your typo)

                                Software Zen: delete this;
                                Fold With Us![^]

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

                                Thanks for that, sometimes I'm too much of a softie.

                                ¡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

                                G 1 Reply Last reply
                                0
                                • G Gary R Wheeler

                                  For the less excitable among us: mercury fulminate[^].

                                  Software Zen: delete this;
                                  Fold With Us![^]

                                  M Offline
                                  M Offline
                                  Member 4194593
                                  wrote on last edited by
                                  #30

                                  TriNitroIodide is also a little unstable.

                                  1 Reply Last reply
                                  0
                                  • realJSOPR realJSOP

                                    New guy started today, and he's very - ummm - "excited" about coding guidelines. Seems he also doesn't like private member variables since they're "not necessary" in the latest version of C# (and a number of other ideas I don't agree with him on). I suggested that all of the programmers (there are four of us right now) take a small class, and change it to their own style of coding, and then we compare notes in a meeting, taking the best of the lot (in other words, the things we agree on) and establishing a coding style guidelines document.

                                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                    -----
                                    "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                    A Offline
                                    A Offline
                                    Aerman4567
                                    wrote on last edited by
                                    #31

                                    Hey... I thought I recognized this... Isnt this the plot to every WWII movie, ever? The new guy comes into the platoon and everyone gives him a hard time cause hes fresh out of the academy... And the next thing you know its the end of the movie and he's ramboo-in it up, and his pecs have gotten bigger somehow... Meanwhile the chick you brought is crying cause "The hot one died.":'( <---Tear

                                    1 Reply Last reply
                                    0
                                    • realJSOPR realJSOP

                                      New guy started today, and he's very - ummm - "excited" about coding guidelines. Seems he also doesn't like private member variables since they're "not necessary" in the latest version of C# (and a number of other ideas I don't agree with him on). I suggested that all of the programmers (there are four of us right now) take a small class, and change it to their own style of coding, and then we compare notes in a meeting, taking the best of the lot (in other words, the things we agree on) and establishing a coding style guidelines document.

                                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                      -----
                                      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                      F Offline
                                      F Offline
                                      ftw melvin
                                      wrote on last edited by
                                      #32

                                      The younger generation do seem somewhat fixated on style over substance, or box ticking. Software development should be more autocratic that democratic, but in difficult times I can see your dilemma. Instead of debating 'whose style is best' it will probably be better to fall back on pre-existing standards and best practices that everyone could perceive as 'neeutral'. Quick solution: 1. Suggest that for naming conventions and coding style you use Microsoft's recommendations unless there is a clear consensus on ignoring a certain recommendation; use FxCop (built in for VS2008) to enforce. 2. Choose a neutral 'best practice' source for going beyond mere conventions. Bill Wagner's brilliant books 'Effective C#' and 'More Effective C#' should be compulsory reading and between them offer 100 properly argued reasons why you should favour certain practices over others. I know a number of FTSE organizations where the developers stick a photocopy of the Effective C# content page where they can see it for constant reinforcement. I'll pick one at random; Item 25: Use Exceptions to Report Method Contract Failures - Any method that cannot perform its stated actions should report that failure by throwing an exception (rather than by using hand-rolled return codes). and so on. *** By recommending neutral standards you take all the personal feeling out of the choice and this will make the developer buy-in far more likely.

                                      "If you reward everyone, there will not be enough to go around, so you offer a reward to one in order to encourage everyone." Mei Yaochen in the 'Doing Battle' section of Sun Tzu's: Art of War. .

                                      T 1 Reply Last reply
                                      0
                                      • J Jim Crafton

                                        Thanks for that, sometimes I'm too much of a softie.

                                        ¡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

                                        G Offline
                                        G Offline
                                        Gary Wheeler
                                        wrote on last edited by
                                        #33

                                        I'm finding it easier and easier to slip into 'Outlaw Programmer' mode. My current project, The Big New Thing™, is driving me toward my debut on CNN.

                                        Software Zen: delete this;

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          I'd much rather work somewhere that has a strong coding standard that I dislike than have a free for all. Nothing shits me more than projects where every bloody file is formatted differently. The other thing that shits me to tears is when someone makes a small change to code I wrote and re formats the whole file. When you use a diff to review the change you have to wade through pages of pointless modifications to find the actual change.

                                          S Offline
                                          S Offline
                                          Squirrel Hacker
                                          wrote on last edited by
                                          #34

                                          *ahem* Ignore whitespace is a good start... though it does nothing for variable names obviously...

                                          Squirrel Hacker

                                          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