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. How to address your coworker’s bad code

How to address your coworker’s bad code

Scheduled Pinned Locked Moved The Insider News
comtutorial
7 Posts 7 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.
  • K Offline
    K Offline
    Kent Sharkey
    wrote on last edited by
    #1

    DZone[^]:

    Getting really good at telling teammates that their code is littered with problems is like getting really good at breaking into your car after locking yourself out of it.

    "Careful with that axe, Eugene"

    P P T M D 5 Replies Last reply
    0
    • K Kent Sharkey

      DZone[^]:

      Getting really good at telling teammates that their code is littered with problems is like getting really good at breaking into your car after locking yourself out of it.

      "Careful with that axe, Eugene"

      P Offline
      P Offline
      Patrice T
      wrote on last edited by
      #2

      :thumbsup:

      Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein

      1 Reply Last reply
      0
      • K Kent Sharkey

        DZone[^]:

        Getting really good at telling teammates that their code is littered with problems is like getting really good at breaking into your car after locking yourself out of it.

        "Careful with that axe, Eugene"

        P Offline
        P Offline
        Paul M Watt
        wrote on last edited by
        #3

        If your shop uses code reviews, then it is not necessary to single out a developer and tell them how bad they are. You have a controlled environment where you can make suggestions and point out issues that must be resolved.

        1 Reply Last reply
        0
        • K Kent Sharkey

          DZone[^]:

          Getting really good at telling teammates that their code is littered with problems is like getting really good at breaking into your car after locking yourself out of it.

          "Careful with that axe, Eugene"

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

          wear a bulletproof fire suit

          Decrease the belief in God, and you increase the numbers of those who wish to play at being God by being “society’s supervisors,” who deny the existence of divine standards, but are very serious about imposing their own standards on society.-Neal A. Maxwell You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

          1 Reply Last reply
          0
          • K Kent Sharkey

            DZone[^]:

            Getting really good at telling teammates that their code is littered with problems is like getting really good at breaking into your car after locking yourself out of it.

            "Careful with that axe, Eugene"

            M Offline
            M Offline
            Marc Clifton
            wrote on last edited by
            #5

            I prefer to address coworkers that write bad code with "Hey, sh*t for brains!" [edit]Oh geez, now that I actually read the article, I have to wonder, why all this politically correct warm fuzzy garbage? What ever happened to "we made a huge mistake hiring you. You're FIRED!" But no, we have to waste our time coddling incompetence. And I don't mean you should apply this to junior devs - you know what you're getting into -- this should be applied to those people who lie when they knowingly (or not) call themselves a "senior" developer.[/edit] Marc

            Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

            1 Reply Last reply
            0
            • K Kent Sharkey

              DZone[^]:

              Getting really good at telling teammates that their code is littered with problems is like getting really good at breaking into your car after locking yourself out of it.

              "Careful with that axe, Eugene"

              D Offline
              D Offline
              Dominic Burford
              wrote on last edited by
              #6

              Coding errors are fairly straight forward to address. If you have comprehensive coding standards and regular code reviews, then these sorts of awkward situations can be avoided altogether. What is more difficult are design flaws in someone else's code. It is easier to improve your coding skills than to improve your design skills.

              "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

              V 1 Reply Last reply
              0
              • D Dominic Burford

                Coding errors are fairly straight forward to address. If you have comprehensive coding standards and regular code reviews, then these sorts of awkward situations can be avoided altogether. What is more difficult are design flaws in someone else's code. It is easier to improve your coding skills than to improve your design skills.

                "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

                V Offline
                V Offline
                Vark111
                wrote on last edited by
                #7

                Dominic Burford wrote:

                coding standards

                So much this. Without a documented coding standard it becomes a clash of egos. "This is the way I would do it because (long-winded reasons trying to convince others).". With a documented coding standard it becomes "This is a violation of rule #32. Fix it."

                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