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.
  • 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
        • R 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
              • R 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
                • R 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
                      • 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

                        F Offline
                        F Offline
                        Fabio Franco
                        wrote on last edited by
                        #35

                        Todd Smith wrote:

                        With automatic properties that's somewhat true. The private member is created for you.

                        Well, even if that is automatically created for you I still consider a bad practice to not use them. I also think it is kinda lazy, it won't make you a better programmer and I'd rather stick with private members.

                        1 Reply Last reply
                        0
                        • R 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

                          Z Offline
                          Z Offline
                          Zhat
                          wrote on last edited by
                          #36

                          Start calling him 'LIFO' if he continues...

                          S F 2 Replies 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.

                            C Offline
                            C Offline
                            cpkilekofp
                            wrote on last edited by
                            #37

                            Ennis Ray Lynch, Jr. wrote:

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

                            Not always. I still remember the case back in '96 where I told a junior programmer about a clear violation of a rule from Effective C++ that I'd found in his code - his response was, hmmm, dismissive. He was also slightly irritated two weeks later when I reminded him of what I said after the bug appeared, the one that specifically arose from his choice to ignore that rule. Coding standards are not necessarily a step toward project failure. Useless coding standards that require rewriting of code that already works, that won't fail under special circumstances, and that don't insure that the code can be maintained by any member of the team are a step in that direction.

                            1 Reply Last reply
                            0
                            • Z Zhat

                              Start calling him 'LIFO' if he continues...

                              S Offline
                              S Offline
                              Single Step Debugger
                              wrote on last edited by
                              #38

                              :laugh:

                              The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                              1 Reply Last reply
                              0
                              • Z Zhat

                                Start calling him 'LIFO' if he continues...

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

                                Surely he's just going to hit back with 'FIFO'? Which does sound a bit like a poodles' name!

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

                                Z 1 Reply Last reply
                                0
                                • F ftw melvin

                                  Surely he's just going to hit back with 'FIFO'? Which does sound a bit like a poodles' name!

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

                                  Z Offline
                                  Z Offline
                                  Zhat
                                  wrote on last edited by
                                  #40

                                  Probably true. :doh:

                                  1 Reply Last reply
                                  0
                                  • T Tomz_KV

                                    It is not easy to get an agreement on guidelines in a small team. I had the experience before.

                                    TOMZ_KV

                                    W Offline
                                    W Offline
                                    woodyata
                                    wrote on last edited by
                                    #41

                                    I have also had difficulties in a small team with coding standards. The best solution I found was to use Juval Lowy's coding standards (see website http://www.idesign.net/idesign/DesktopDefault.aspx). Using them stopped the me-versus-you stuff.

                                    T 1 Reply Last reply
                                    0
                                    • W woodyata

                                      I have also had difficulties in a small team with coding standards. The best solution I found was to use Juval Lowy's coding standards (see website http://www.idesign.net/idesign/DesktopDefault.aspx). Using them stopped the me-versus-you stuff.

                                      T Offline
                                      T Offline
                                      Tomz_KV
                                      wrote on last edited by
                                      #42

                                      I did not see it. Is it publicly available at the site?

                                      TOMZ_KV

                                      W 1 Reply Last reply
                                      0
                                      • T Tomz_KV

                                        I did not see it. Is it publicly available at the site?

                                        TOMZ_KV

                                        W Offline
                                        W Offline
                                        woodyata
                                        wrote on last edited by
                                        #43

                                        Here is the coding standard: [http://www.idesign.net/iDesign/download/IDesign CSharp Coding Standard.zip](http://www.idesign.net/iDesign/download/IDesign CSharp Coding Standard.zip)[[^](http://www.idesign.net/iDesign/download/IDesign CSharp Coding Standard.zip "New Window")]

                                        T 1 Reply Last reply
                                        0
                                        • W woodyata

                                          Here is the coding standard: [http://www.idesign.net/iDesign/download/IDesign CSharp Coding Standard.zip](http://www.idesign.net/iDesign/download/IDesign CSharp Coding Standard.zip)[[^](http://www.idesign.net/iDesign/download/IDesign CSharp Coding Standard.zip "New Window")]

                                          T Offline
                                          T Offline
                                          Tomz_KV
                                          wrote on last edited by
                                          #44

                                          Great. Thanks!

                                          TOMZ_KV

                                          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