Thread: C Puns

  1. #16
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    @cpjust: maybe you'd be better off using MS or Sun software if you feel this way.

    There are a lot of places I will not take a job because I consider the environment humorless and soul sucking -- no amount of professionalism will make up for that (and probably the checks they write won't either). This one sounds like a litmus test of that sort (no offence).
    Last edited by MK27; 04-12-2010 at 10:29 AM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  2. #17
    Registered User
    Join Date
    Oct 2008
    Posts
    1,262
    Quote Originally Posted by MK27 View Post
    @cpjust: maybe you'd be better off using MS or Sun software if you feel this way.

    You mean the same MS that starts a flight simulator when you type the right keystrokes in excel?

  3. #18
    Registered User jdragyn's Avatar
    Join Date
    Sep 2009
    Posts
    96
    @cpjust: you're taking all the fun out of functions. Or perhaps it's your attempt to make the language nicer. Functional languages are all rather rude afterall. They all start with f-u...
    C+/- programmer extraordinaire

  4. #19
    Or working on it anyways mramazing's Avatar
    Join Date
    Dec 2005
    Location
    Lehi, UT
    Posts
    121
    @cpjust I don't understand where you are coming from I guess. I have had two jobs as a programmer using GCC as well as MSVC but I didnt work with anyone who wouldn't find this funny. As a matter of fact we were very productive and professional. Not only that as far as GCC goes; there are flags to strip an executable of all unneeded things but if you dont need them. Although if you don't like strfry() then don't use it...
    -- Will you show me how to c++?

  5. #20
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by mramazing View Post
    @cpjust I don't understand where you are coming from I guess. I have had two jobs as a programmer using GCC as well as MSVC but I didnt work with anyone who wouldn't find this funny. As a matter of fact we were very productive and professional. Not only that as far as GCC goes; there are flags to strip an executable of all unneeded things but if you dont need them. Although if you don't like strfry() then don't use it...
    I find it mildly amusing, but it's something that belongs on the Internet, not as part of gcc.
    What if they add a whole bunch of those little easter eggs? Then when you're looking through the documentation to try to find a good function to use, you'll be wasting time looking over tons of useless jokes.
    What about people who aren't very fluent in English? They wouldn't even know it's a joke, let alone understand it.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  6. #21
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,613
    What about people who aren't very fluent in English? They wouldn't even know it's a joke, let alone understand it.
    Why is that an excuse? Even joke functions do something. If someone can't read enough English to figure out what then they have no reason to be working for their employer.

  7. #22
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by whiteflags View Post
    Why is that an excuse? Even joke functions do something. If someone can't read enough English to figure out what then they have no reason to be working for their employer.
    I'm pretty sure not all software is written in English or by English speaking people. Although knowing English would certainly make it easier to learn C/C++, since the function names are written in English.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  8. #23
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    I don't see what's wrong with a little comic relief once in a while. Software has a long history of containing easter eggs and puns. Sometimes you do what you gotta do to stay sane when working on these large, complicated things.

    The trend toward considering these things "unprofessional," as cpjust holds, is just a sign that the glory days of computer programmers being viewed as crazy geniuses are coming to an end, and the day of the blue-collar code monkey is rising to prominence. Imagine if a contractor etched a small, funny message into the concrete patio he was pouring for you -- you'd have a hissy fit.

    Software is becoming boring.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  9. #24
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,613
    Quote Originally Posted by cpjust View Post
    I'm pretty sure not all software is written in English or by English speaking people. Although knowing English would certainly make it easier to learn C/C++, since the function names are written in English.
    Oh shut up. If someone can be so confused by English function names or English keywords then they can be just as easily confused by anything that isn't cute, like malloc, or calloc, or float. The way I see it you're getting disproportionately bent out of shape over a handful of functions that 99.5% of people either scroll past or never encounter. There is no excuse for being so illiterate you can't read documentation.
    Last edited by whiteflags; 04-19-2010 at 04:52 PM.

  10. #25
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    I don't really give a crap anymore... If you want to waste your time with that stuff, go ahead. I'll be the guy doing actual work.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  11. #26
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    Somebody is grouchy.

    Yikes.
    Woop?

  12. #27
    Registered User
    Join Date
    Apr 2010
    Location
    Dublin, Ireland
    Posts
    4
    Awesome !!

    What a wonderfully random func..

    thanks for the post !! i shall never use this, but its nice to have this..:P

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Programming Puns
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 44
    Last Post: 03-23-2002, 04:38 PM