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. Write beautiful code

Write beautiful code

Scheduled Pinned Locked Moved The Insider News
html
11 Posts 9 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

    Mark Newlin[^]:

    Writing code is much more than an engineering discipline; it is a true art form. Each line of code you write reflects your understanding of the language, your ability to communicate ideas to other engineers, and the lessons lessons from previous projects.

    "It is not sufficient to see and to know the beauty of a work."

    S R 2 Replies Last reply
    0
    • K Kent Sharkey

      Mark Newlin[^]:

      Writing code is much more than an engineering discipline; it is a true art form. Each line of code you write reflects your understanding of the language, your ability to communicate ideas to other engineers, and the lessons lessons from previous projects.

      "It is not sufficient to see and to know the beauty of a work."

      S Offline
      S Offline
      Slacker007
      wrote on last edited by
      #2

      On the other hand I have seen beautiful, gorgeous code that runs like crap, because it is crap. I know engineers, hell, I work with engineers that spend too much time in the powder room making their code look pretty. By the time their done, the project is over deadline and the code doesn't run for beans. Keep your code simple, and write it, so that it works. works. works. :sigh:

      J K T 3 Replies Last reply
      0
      • K Kent Sharkey

        Mark Newlin[^]:

        Writing code is much more than an engineering discipline; it is a true art form. Each line of code you write reflects your understanding of the language, your ability to communicate ideas to other engineers, and the lessons lessons from previous projects.

        "It is not sufficient to see and to know the beauty of a work."

        R Offline
        R Offline
        Ravi Bhavnani
        wrote on last edited by
        #3

        IMHO, simple is beautiful. /ravi

        My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

        M S N 3 Replies Last reply
        0
        • R Ravi Bhavnani

          IMHO, simple is beautiful. /ravi

          My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

          M Offline
          M Offline
          M dHatter
          wrote on last edited by
          #4

          like a spaghetti dinner ;)

                         .'\\   /\`.
                       .'.-.\`-'.-.\`.
                  ...\_:   .-. .-.   :\_...
                .'    '-.(o ) (o ).-'    \`.
               :  \_    \_ \_\`~(\_)~\`\_ \_    \_  :
              :  /:   ' .-=\_   \_=-. \`   ;\\  :
              :   :|-..\_  '     \`  \_..-|:   :
               :   \`:| |\`:-:-.-:-:'| |:'   :
                \`.   \`.| | | | | | |.'   .'
                  \`.   \`-:\_| | |\_:-'   .'
                    \`-.\_   \`\`\`\`    \_.-'
                        \`\`-------'/xml>
          
          R 1 Reply Last reply
          0
          • S Slacker007

            On the other hand I have seen beautiful, gorgeous code that runs like crap, because it is crap. I know engineers, hell, I work with engineers that spend too much time in the powder room making their code look pretty. By the time their done, the project is over deadline and the code doesn't run for beans. Keep your code simple, and write it, so that it works. works. works. :sigh:

            J Offline
            J Offline
            Jorgen Andersson
            wrote on last edited by
            #5

            Ernst Stavro Blofeld wrote:

            beautiful, gorgeous code that runs like crap

            Isn't that an oxymoron?

            Ernst Stavro Blofeld wrote:

            Keep your code simple, and write it, so that it works.

            :thumbsup:

            Wrong is evil and must be defeated. - Jeff Ello

            1 Reply Last reply
            0
            • S Slacker007

              On the other hand I have seen beautiful, gorgeous code that runs like crap, because it is crap. I know engineers, hell, I work with engineers that spend too much time in the powder room making their code look pretty. By the time their done, the project is over deadline and the code doesn't run for beans. Keep your code simple, and write it, so that it works. works. works. :sigh:

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

              Ernst Stavro Blofeld wrote:

              On the other hand I have seen beautiful, gorgeous code that runs like crap, because it is crap. I know engineers, hell, I work with engineers that spend too much time in the powder room making their code look pretty.

              But he does say at the outset...

              Quote:

              When you write code, your first priority is to satisfy functional and performance requirements.

              Kevin

              T 1 Reply Last reply
              0
              • R Ravi Bhavnani

                IMHO, simple is beautiful. /ravi

                My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                S Offline
                S Offline
                Slacker007
                wrote on last edited by
                #7

                :thumbsup:

                1 Reply Last reply
                0
                • R Ravi Bhavnani

                  IMHO, simple is beautiful. /ravi

                  My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                  N Offline
                  N Offline
                  Nemanja Trifunovic
                  wrote on last edited by
                  #8

                  Ravi Bhavnani wrote:

                  simple is beautiful

                  Yes, but simplicity is complicated.[^]. :doh:

                  utf8-cpp

                  1 Reply Last reply
                  0
                  • K Kevin McFarlane

                    Ernst Stavro Blofeld wrote:

                    On the other hand I have seen beautiful, gorgeous code that runs like crap, because it is crap. I know engineers, hell, I work with engineers that spend too much time in the powder room making their code look pretty.

                    But he does say at the outset...

                    Quote:

                    When you write code, your first priority is to satisfy functional and performance requirements.

                    Kevin

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

                    :thumbsup:

                    #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
                    • S Slacker007

                      On the other hand I have seen beautiful, gorgeous code that runs like crap, because it is crap. I know engineers, hell, I work with engineers that spend too much time in the powder room making their code look pretty. By the time their done, the project is over deadline and the code doesn't run for beans. Keep your code simple, and write it, so that it works. works. works. :sigh:

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

                      If it's not the most simple code that satisfies the requirements, both functional and performance, then it's not beautiful code. It's ugly.

                      #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
                      • M M dHatter

                        like a spaghetti dinner ;)

                                       .'\\   /\`.
                                     .'.-.\`-'.-.\`.
                                ...\_:   .-. .-.   :\_...
                              .'    '-.(o ) (o ).-'    \`.
                             :  \_    \_ \_\`~(\_)~\`\_ \_    \_  :
                            :  /:   ' .-=\_   \_=-. \`   ;\\  :
                            :   :|-..\_  '     \`  \_..-|:   :
                             :   \`:| |\`:-:-.-:-:'| |:'   :
                              \`.   \`.| | | | | | |.'   .'
                                \`.   \`-:\_| | |\_:-'   .'
                                  \`-.\_   \`\`\`\`    \_.-'
                                      \`\`-------'/xml>
                        
                        R Offline
                        R Offline
                        Rob Grainger
                        wrote on last edited by
                        #11

                        And I'd heard that spaghetti code was bad!

                        "If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.

                        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