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. Applying the Linus Torvalds “good taste” coding requirement

Applying the Linus Torvalds “good taste” coding requirement

Scheduled Pinned Locked Moved The Insider News
comlinuxcareer
14 Posts 12 Posters 16 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

    Brian Barto[^]:

    In a recent interview with Linus Torvalds, the creator of Linux, at approximately 14:20 in the interview, he made a quick point about coding with “good taste”.

    "Taste is the enemy of creativeness."

    B T S Kornfeld Eliyahu PeterK D 8 Replies Last reply
    0
    • K Kent Sharkey

      Brian Barto[^]:

      In a recent interview with Linus Torvalds, the creator of Linux, at approximately 14:20 in the interview, he made a quick point about coding with “good taste”.

      "Taste is the enemy of creativeness."

      B Offline
      B Offline
      Brisingr Aerowing
      wrote on last edited by
      #2

      He does have a very good point there.

      What do you get when you cross a joke with a rhetorical question? The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism. Do questions with multiple question marks annoy you???

      1 Reply Last reply
      0
      • K Kent Sharkey

        Brian Barto[^]:

        In a recent interview with Linus Torvalds, the creator of Linux, at approximately 14:20 in the interview, he made a quick point about coding with “good taste”.

        "Taste is the enemy of creativeness."

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

        Similar to code cleanliness. Or to paraphrase an alleged quote attributed to Einstein: "Make code as simple as possible, but no simpler."

        #SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson 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

          Brian Barto[^]:

          In a recent interview with Linus Torvalds, the creator of Linux, at approximately 14:20 in the interview, he made a quick point about coding with “good taste”.

          "Taste is the enemy of creativeness."

          S Offline
          S Offline
          Snesh Prajapati
          wrote on last edited by
          #4

          + 1 Nice Point :thumbsup:

          1 Reply Last reply
          0
          • K Kent Sharkey

            Brian Barto[^]:

            In a recent interview with Linus Torvalds, the creator of Linux, at approximately 14:20 in the interview, he made a quick point about coding with “good taste”.

            "Taste is the enemy of creativeness."

            Kornfeld Eliyahu PeterK Offline
            Kornfeld Eliyahu PeterK Offline
            Kornfeld Eliyahu Peter
            wrote on last edited by
            #5

            I promise to code with 'good taste' if Linus promise to behave in the same way...

            Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

            "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

            T 1 Reply Last reply
            0
            • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

              I promise to code with 'good taste' if Linus promise to behave in the same way...

              Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

              T Offline
              T Offline
              Tomaz Stih 0
              wrote on last edited by
              #6

              He is Linus Torvalds. You are Kornfeld Eliyahu Peter. :-\

              1 Reply Last reply
              0
              • K Kent Sharkey

                Brian Barto[^]:

                In a recent interview with Linus Torvalds, the creator of Linux, at approximately 14:20 in the interview, he made a quick point about coding with “good taste”.

                "Taste is the enemy of creativeness."

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

                I don't really care for anything that Linus Torvalds has to say on anything. He's just such a complete jerk. Our industry has many great thought leaders (Grady Booch, Martin Fowler, Kent Beck, Ivar Jacobson etc) who don't resort to petty name calling and ass-hole behaviour. As a technically minded individual he is very good, but as a decent human being he is a complete failure.

                "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

                1 Reply Last reply
                0
                • K Kent Sharkey

                  Brian Barto[^]:

                  In a recent interview with Linus Torvalds, the creator of Linux, at approximately 14:20 in the interview, he made a quick point about coding with “good taste”.

                  "Taste is the enemy of creativeness."

                  M Offline
                  M Offline
                  Maximilien
                  wrote on last edited by
                  #8

                  The idea that there are simpler and more elegant solution is a good and should be encouraged. The counter-point is that to find a more elegant and good taste code, it can take up a lot of time, especially when tying to optimize without any real measurements.

                  I'd rather be phishing!

                  1 Reply Last reply
                  0
                  • K Kent Sharkey

                    Brian Barto[^]:

                    In a recent interview with Linus Torvalds, the creator of Linux, at approximately 14:20 in the interview, he made a quick point about coding with “good taste”.

                    "Taste is the enemy of creativeness."

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

                    What's fascinating for me is, using a language like C#, where you can't really get the "address of" of property and re-assign it to another reference, I can't really figure out how to write this without an "if" statement that reassigns "head" if it's the element to be removed. Anyone? If that's so, it actually is a good example of how a language can affect "good taste." Marc

                    Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

                    Kornfeld Eliyahu PeterK 1 Reply Last reply
                    0
                    • K Kent Sharkey

                      Brian Barto[^]:

                      In a recent interview with Linus Torvalds, the creator of Linux, at approximately 14:20 in the interview, he made a quick point about coding with “good taste”.

                      "Taste is the enemy of creativeness."

                      raddevusR Offline
                      raddevusR Offline
                      raddevus
                      wrote on last edited by
                      #10

                      Make code as ugly as you want to get it working...

                      ...but do not forget to clean it up later... ...yes, I mean before selling it. :laugh:

                      My book, Launch Your Android App, is available at Amazon.com.

                      J K 2 Replies Last reply
                      0
                      • raddevusR raddevus

                        Make code as ugly as you want to get it working...

                        ...but do not forget to clean it up later... ...yes, I mean before selling it. :laugh:

                        My book, Launch Your Android App, is available at Amazon.com.

                        J Offline
                        J Offline
                        Joe Woodbury
                        wrote on last edited by
                        #11

                        raddevus wrote:

                        ...but do not forget to clean it up later...

                        So writing "TODO: Clean this up" in the code isn't sufficient?

                        1 Reply Last reply
                        0
                        • M Marc Clifton

                          What's fascinating for me is, using a language like C#, where you can't really get the "address of" of property and re-assign it to another reference, I can't really figure out how to write this without an "if" statement that reassigns "head" if it's the element to be removed. Anyone? If that's so, it actually is a good example of how a language can affect "good taste." Marc

                          Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

                          Kornfeld Eliyahu PeterK Offline
                          Kornfeld Eliyahu PeterK Offline
                          Kornfeld Eliyahu Peter
                          wrote on last edited by
                          #12

                          There are people out there who do not consider any language they do not use (know)... But to put Linus aside (after all he lacks the tools to explain himself in any human form)... The idea of good-taste-coding (which isn't originated from Linus) is about eliminating edge cases... Writing code that hides them (while handle them perfectly), so you actually do not see any conditions... Of course it automatically means that good-taste is not about IFs or addresses, but about using the language of your choose with high efficiency to produce clean code (and you probably saw the code samples in 'The Weird and The Wonderful' forum).

                          Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                          "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                          1 Reply Last reply
                          0
                          • raddevusR raddevus

                            Make code as ugly as you want to get it working...

                            ...but do not forget to clean it up later... ...yes, I mean before selling it. :laugh:

                            My book, Launch Your Android App, is available at Amazon.com.

                            K Offline
                            K Offline
                            Kaladin
                            wrote on last edited by
                            #13

                            Or just leave it for the next developer to fix... :sigh:

                            raddevusR 1 Reply Last reply
                            0
                            • K Kaladin

                              Or just leave it for the next developer to fix... :sigh:

                              raddevusR Offline
                              raddevusR Offline
                              raddevus
                              wrote on last edited by
                              #14

                              Kaladin wrote:

                              Or just leave it for the next developer to fix...

                              Doh! You're not allowed to say that out loud! :laugh:

                              My book, Launch Your Android App, is available at Amazon.com.

                              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