View Poll Results: Ever cuss in your code

Voters
42. You may not vote on this poll
  • YES

    10 23.81%
  • NO

    27 64.29%
  • ALL THE TIME

    2 4.76%
  • SOMETIMES

    7 16.67%
Multiple Choice Poll.

The *&%$#!% programmer !

This is a discussion on The *&%$#!% programmer ! within the A Brief History of Cprogramming.com forums, part of the Community Boards category; after reading this article , I'm curious to know who here riddles their source code with cuss words? have you ...

  1. #1
    Registered User caroundw5h's Avatar
    Join Date
    Oct 2003
    Posts
    751

    Talking The *&%$#!% programmer !

    after reading this article , I'm curious to know who here riddles their source code with cuss words? have you ever worked on sofware and documetented it with cuss words for something company who had no idea?

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    only in school projects.... especially for debug statements

  3. #3
    Banned
    Join Date
    May 2004
    Posts
    129
    I think it's quite healthy. I mean, it's almost a way to fight back against the code (obviously, it's the code's fault that it chooses not to work).

  4. #4
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    I don't swear in my comments. I just get incredibly sarcastic.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  5. #5
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    90% of my user validation error messages are designed to belittle the person

  6. #6
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    it's not a big habit or anything, but yeah... and I put easter eggs in some of my code as well as some things that show up when you break it down with a hex editor

    http://www.durak.org/sean/pubs/kfc/
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  7. #7
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    I use cuss words all the time when debugging, mainly because it would stand out more as opposed to other things. I rarely leave things like that in my comments, however. It's unprofessional and can put a negative spin on you later if someone with a lack of a sense of humor is rummaging through your code.

    But I'm with Thantos... sarcastic comments abound throughout my comments.

  8. #8
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    Swearing in your comments makes you look like a fool IMO. Witty comments and puns make code more fun to read as long as they convey the necessary information. Remember that above all, comments are there to aid the reader in understanding your code and the intentions behind it.
    My best code is written with the delete key.

  9. #9
    The Defective GRAPE Lurker's Avatar
    Join Date
    Feb 2003
    Posts
    949
    I don't curse in my comments. I don't comment much either, however; it's something I really need to start doing.
    Do not make direct eye contact with me.

  10. #10
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    >>> Swearing in your comments makes you look like a fool IMO.

    Yup.

    >>> 90% of my user validation error messages are designed to belittle the person

    Nope. If the user enters the wrong information to your prompt, you have failed in your task of preventing such an occurrance. Belittling the user for your failure is poor show. It is your job to make the data entry process work for the "challenged", and make then come away with a sense of acheivment. Running them down will not encourage learning.

    Management, different story - We once had a screen which we knew would be seen which said something like...

    A position indication record has been attached to a dummy node record. Despite numerous discussions with XYZ, I was assurred this would never happen. His extension number is 3033.

    ... and if AJC or SJP ever read this, PM me!
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  11. #11
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Nope. If the user enters the wrong information to your prompt, you have failed in your task of preventing such an occurrance.
    Well when you ask for a zip code any they gave you a city name its really not the programmer's fault the user was too dumb to read the prompt. I agree that any professional apps shouldn't belittle anyone but for my personal apps or ones for school its all about having some fun.

  12. #12
    Registered User whackaxe's Avatar
    Join Date
    Mar 2004
    Posts
    332
    i curse a bit in source code when i have to do something the long way (compared to PHP in any case)

  13. #13
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    >>>
    Well when you ask for a zip code any they gave you a city name its really not the programmer's fault the user was too dumb to read the prompt.
    <<<

    Why? You are an American, you know what a "ZIP" code is. To me, ZIP is a make of barbecue lighting blocks, it is also the thing on the front of my trousers.

    I happen to be old enough and worldly wise enough to know that it is also the "post code" in the US, but you assume I know that.

    Ask me what my zip code is, and "14 inches" could be a totally accurate answer...
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  14. #14
    mov.w #$1337,D0 Jeremy G's Avatar
    Join Date
    Nov 2001
    Posts
    704
    I like to make make allusions to god in my code comments.

    Like:
    // and on the first day he create int main, and he saw that it was good
    int main() { };

    etc.
    But usualy thats only when I'm coding school programs. When i'm coding stuff thats actauly fun or practical, i tend to comment incredibly sparingly.
    c++->visualc++->directx->opengl->c++;
    (it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)

  15. #15
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Why? You are an American, you know what a "ZIP" code is. To me, ZIP is a make of barbecue lighting blocks, it is also the thing on the front of my trousers.

    I happen to be old enough and worldly wise enough to know that it is also the "post code" in the US, but you assume I know that.

    Ask me what my zip code is, and "14 inches" could be a totally accurate answer...
    Way to go in missing the point. It was an example. My point was that the programmer is not at fault for the user putting in wrong information, only for accepting it as valid.

    Since you want to argue the example instead of the point lets try this one:

    "Enter an integer between 0 and 10 inclusively (Example: 0, 5, 10): "
    and the user enters 13 how is this the programmer's fault?

    An example of my response would be something like this:
    Since you obviously could not understand my simple instructions let me break it down for you. Type a whole number (a number without a decimal point [.]) and press enter. The number should be between 0 and 10 and may include 0 and 10. Lets see if you can do it right this time:

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What game programmer should I be? need some advice.
    By m3rk in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 04-21-2009, 12:12 AM
  2. When are you REALLY a programmer?
    By m.mixon in forum C Programming
    Replies: 5
    Last Post: 07-19-2006, 10:08 PM
  3. Senior 3D Programmer - Moab Studios™ LLC
    By moab in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 08-30-2005, 11:19 PM
  4. Me as a programmer?
    By Cheeze-It in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 03-31-2002, 06:19 PM
  5. I need to interview professional programmer.....please
    By incognito in forum C++ Programming
    Replies: 1
    Last Post: 01-05-2002, 02:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21