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. Developers say the best code is readable code

Developers say the best code is readable code

Scheduled Pinned Locked Moved The Insider News
perlhtmlcomquestion
7 Posts 6 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

    IT World[^]:

    An informal survey of programmers finds that the most important quality in good software source code is that it be easy to read and understand.

    Did no one survey the Perl and APL developers?

    A R L M 4 Replies Last reply
    0
    • K Kent Sharkey

      IT World[^]:

      An informal survey of programmers finds that the most important quality in good software source code is that it be easy to read and understand.

      Did no one survey the Perl and APL developers?

      A Offline
      A Offline
      Afzaal Ahmad Zeeshan
      wrote on last edited by
      #2

      The developers stand for, Martin Fowler[^], who says:

      Quote:

      Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

      The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

      1 Reply Last reply
      0
      • K Kent Sharkey

        IT World[^]:

        An informal survey of programmers finds that the most important quality in good software source code is that it be easy to read and understand.

        Did no one survey the Perl and APL developers?

        R Offline
        R Offline
        R Giskard Reventlov
        wrote on last edited by
        #3

        Kent Sharkey wrote:

        An informal survey of programmers finds that the most important quality in good software source code is that it be easy to read and understand.

        Really? No! Who would a thunk it! Talk about stating the bleeding obvious. :)

        1 Reply Last reply
        0
        • K Kent Sharkey

          IT World[^]:

          An informal survey of programmers finds that the most important quality in good software source code is that it be easy to read and understand.

          Did no one survey the Perl and APL developers?

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

          Huh... I would have went with "that it correctly performs its intended function(s)" but... to each, their own.

          Contrary to popular belief, nobody owes you anything.

          T 1 Reply Last reply
          0
          • K Kent Sharkey

            IT World[^]:

            An informal survey of programmers finds that the most important quality in good software source code is that it be easy to read and understand.

            Did no one survey the Perl and APL developers?

            M Offline
            M Offline
            Master Man1980
            wrote on last edited by
            #5

            Geeks write obfuscated code !

            L 1 Reply Last reply
            0
            • M Master Man1980

              Geeks write obfuscated code !

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

              Next to readable, it needs to be easily maintainable. One of the ways of doing so is by structuring things in, say, objects. Having those objects arranged and working according to a well-known pattern adds to the maintainability, readability and hence, affordability. It also means that most things are only defined in one place. No, seriously, ONE place. No redundancies, no repeating code - as that would mean that you'd have to maintain multiple instances of the same when updating it. That increases the chance of introducing bugs, which is bad. Good code is SOLID and DRY :) ..and commented, with a low cyclomatic complexity, conforming to FxCop rules, and come with unit-testing that has almost 100% coverage.

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

              1 Reply Last reply
              0
              • L Lost User

                Huh... I would have went with "that it correctly performs its intended function(s)" but... to each, their own.

                Contrary to popular belief, nobody owes you anything.

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

                Mike Mullikin wrote:

                that it correctly performs its intended function(s)

                I believe that was a given, but yeah, readable too.

                #SupportHeForShe

                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 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 Only 2 things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

                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