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. Woah there, Tarantino: cut that profanity from your code

Woah there, Tarantino: cut that profanity from your code

Scheduled Pinned Locked Moved The Insider News
comsysadmin
14 Posts 8 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.
  • L Lost User

    PeejayAdams wrote:

    So, basically, no, I don't use naughty words in source files these days. Somebody, somewhere, will see it at some point!

    I will not have my naughty parts removed just to prevent others from seeing them. In the articles that I wrote you'll more likely find attempts at humor instead of profanity, but the goal is the same; it was probably a frustrating piece of code that the reader is to be warned of. I am not writing an essay or a PG13 movie script; it is code, and I will expect the audience to be another coder.

    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

    P Offline
    P Offline
    PeejayAdams
    wrote on last edited by
    #5

    I'm more than happy to use the full breadth of the English language in any situation where there aren't any children around (and will fervently defend my right to do so), but in situations - such as code - where you don't know who will wind up reading what you write, I think it's safer to assume that it might be a little kid, however unlikely that is in reality.

    Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain

    L 1 Reply Last reply
    0
    • P PeejayAdams

      I'm more than happy to use the full breadth of the English language in any situation where there aren't any children around (and will fervently defend my right to do so), but in situations - such as code - where you don't know who will wind up reading what you write, I think it's safer to assume that it might be a little kid, however unlikely that is in reality.

      Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain

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

      PeejayAdams wrote:

      I think it's safer to assume that it might be a little kid, however unlikely that is in reality.

      Oh, yes, we got to save the kids from profanity! It's a gateway to drugs and murder. Also check your code to see if you're using the correct pronouns, as it may scar someone for life! :rolleyes:

      PeejayAdams wrote:

      in situations - such as code - where you don't know who will wind up reading what you write

      It is not a diary; your code will not be published to the larger public. Comments in code are there to make clear what is happening, to limit bugs, and to make it easier to understand. That's the goal.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

      P S 2 Replies Last reply
      0
      • L Lost User

        PeejayAdams wrote:

        I think it's safer to assume that it might be a little kid, however unlikely that is in reality.

        Oh, yes, we got to save the kids from profanity! It's a gateway to drugs and murder. Also check your code to see if you're using the correct pronouns, as it may scar someone for life! :rolleyes:

        PeejayAdams wrote:

        in situations - such as code - where you don't know who will wind up reading what you write

        It is not a diary; your code will not be published to the larger public. Comments in code are there to make clear what is happening, to limit bugs, and to make it easier to understand. That's the goal.

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

        P Offline
        P Offline
        PeejayAdams
        wrote on last edited by
        #7

        Eddy Vluggen wrote:

        Oh, yes, we got to save the kids from profanity! It's a gateway to drugs and murder.

        Oh God, nothing like that! I'm not an elephanting puritan, I'm on the kids' side on this one. By surrounding children with swearwords you're denying them one of the more fun and furtive educational activities of their youth - looking up and finding out what various forbidden words mean. Didn't you used to love looking up "elephant" in the family dictionary when no-one was looking? Or enumerating the words you knew that you couldn't use at home?

        Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain

        L D 2 Replies Last reply
        0
        • P PeejayAdams

          Eddy Vluggen wrote:

          Oh, yes, we got to save the kids from profanity! It's a gateway to drugs and murder.

          Oh God, nothing like that! I'm not an elephanting puritan, I'm on the kids' side on this one. By surrounding children with swearwords you're denying them one of the more fun and furtive educational activities of their youth - looking up and finding out what various forbidden words mean. Didn't you used to love looking up "elephant" in the family dictionary when no-one was looking? Or enumerating the words you knew that you couldn't use at home?

          Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain

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

          PeejayAdams wrote:

          By surrounding children with swearwords

          I am not surrounding children with swearwords when uploading code to GitHub. That's a heavy overreaction, even if there's a curse-word in the code.

          PeejayAdams wrote:

          you're denying them one of the more fun and furtive educational activities of their youth - looking up and finding out what various forbidden words mean

          That would not be denying them, but providing them with fodder.

          PeejayAdams wrote:

          Didn't you used to love looking up "elephant" in the family dictionary when no-one was looking?

          This is Europe. We had the subject in school and had to take exams on it. No need to look things up if they are part of your homework.

          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

          N 1 Reply Last reply
          0
          • P PeejayAdams

            Eddy Vluggen wrote:

            Oh, yes, we got to save the kids from profanity! It's a gateway to drugs and murder.

            Oh God, nothing like that! I'm not an elephanting puritan, I'm on the kids' side on this one. By surrounding children with swearwords you're denying them one of the more fun and furtive educational activities of their youth - looking up and finding out what various forbidden words mean. Didn't you used to love looking up "elephant" in the family dictionary when no-one was looking? Or enumerating the words you knew that you couldn't use at home?

            Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain

            D Offline
            D Offline
            Daniel Pfeffer
            wrote on last edited by
            #9

            PeejayAdams wrote:

            Or enumerating the words you knew that you couldn't use at home?

            Some time ago, my father pointed out that in Europe, you may defecate, micturate, and fornicate in public. But God help you if you smoke! :sigh:

            Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

            1 Reply Last reply
            0
            • K Kent Sharkey

              Dice Insights[^]:

              Take a quick search through GitHub, and you’ll find thousands of commits that feature words you can’t ever say on network television.

              Unless it F'ing belongs in there

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

              Typos are unavoidable[^]

              thatraja

              Coming soon1 | Coming soon2 | Coming soon3New

              1 Reply Last reply
              0
              • L Lost User

                Network Television and code have very different audiences. "Showing code to a customer"; who does that?

                Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

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

                I'm currently working in a regulated industry. My last three jobs were also in regulated industries. In all but one of these, the source code is reviewed by agencies who won't reject your software simply for unprofessional comments (unless such comments are perceived as being directed at them), but will likely, and I believe justifiably, cause them to give the code extra scrutiny. Moreover, it will likely create a negative impression, which could cause unnecessary hassles in the future.

                1 Reply Last reply
                0
                • L Lost User

                  PeejayAdams wrote:

                  By surrounding children with swearwords

                  I am not surrounding children with swearwords when uploading code to GitHub. That's a heavy overreaction, even if there's a curse-word in the code.

                  PeejayAdams wrote:

                  you're denying them one of the more fun and furtive educational activities of their youth - looking up and finding out what various forbidden words mean

                  That would not be denying them, but providing them with fodder.

                  PeejayAdams wrote:

                  Didn't you used to love looking up "elephant" in the family dictionary when no-one was looking?

                  This is Europe. We had the subject in school and had to take exams on it. No need to look things up if they are part of your homework.

                  Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                  N Offline
                  N Offline
                  Nelek
                  wrote on last edited by
                  #12

                  Eddy Vluggen wrote:

                  This is Europe. We had the subject in school and had to take exams on it.

                  Not true. I don't know in holland, but I had en education quite free of "bad words" in the school area / time and I went to a normal public school (just in case). I know you like sarcasm but... just because things are a mess now, you don't need to extrapolate it to the past or to the whole europe. And if you want to continue, I suggest you to open a thread in the soapbox :)

                  M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                  L 1 Reply Last reply
                  0
                  • N Nelek

                    Eddy Vluggen wrote:

                    This is Europe. We had the subject in school and had to take exams on it.

                    Not true. I don't know in holland, but I had en education quite free of "bad words" in the school area / time and I went to a normal public school (just in case). I know you like sarcasm but... just because things are a mess now, you don't need to extrapolate it to the past or to the whole europe. And if you want to continue, I suggest you to open a thread in the soapbox :)

                    M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

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

                    Nelek wrote:

                    Not true. I don't know in holland, but I had en education quite free of "bad words" in the school area / time and I went to a normal public school (just in case).

                    I was not referring to eduction of "bad words", but normal sexual education :rolleyes:

                    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                    1 Reply Last reply
                    0
                    • L Lost User

                      PeejayAdams wrote:

                      I think it's safer to assume that it might be a little kid, however unlikely that is in reality.

                      Oh, yes, we got to save the kids from profanity! It's a gateway to drugs and murder. Also check your code to see if you're using the correct pronouns, as it may scar someone for life! :rolleyes:

                      PeejayAdams wrote:

                      in situations - such as code - where you don't know who will wind up reading what you write

                      It is not a diary; your code will not be published to the larger public. Comments in code are there to make clear what is happening, to limit bugs, and to make it easier to understand. That's the goal.

                      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                      S Offline
                      S Offline
                      Stryder_1
                      wrote on last edited by
                      #14

                      Eddy Vluggen wrote:

                      It is not a diary; your code will not be published to the larger public.

                      Perhaps not published by yourself - The Weird and The Wonderful[^]

                      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