Thread: Neurotic bodily habits when coding

  1. #16
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    I tap my feet. It must be really annoying for the guy next to me, because I keep my keys in the pocket of the same leg, and I'm pretty sure they jingle. Hard to tell - I always have headphones in.

  2. #17
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    I, er, smell my fingertips a lot.

  3. #18
    Registered User Sharke's Avatar
    Join Date
    Jun 2008
    Location
    NYC
    Posts
    303
    Quote Originally Posted by SMurf View Post
    I, er, smell my fingertips a lot.
    OK if we're going to cross that line then I sometimes shake dandruff over my keyboard and have to get the compressed air out.

  4. #19
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    TMI.

  5. #20
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    >> TMI

    Way.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  6. #21
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    It's hard to explain. I take the heel of my thumb, grasp it between the thumb and middle finger of the other hand, and roll it back and forth. I do this enough that it leaves a callus on my hand, which I have to trim off using nail clippers.

    Yes, it's really weird.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  7. #22
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    >> I do this enough that it leaves a callus on my hand, which I have to trim off using nail clippers.

    That's...pretty unusual. Have you always done this, or is it just programming induced?
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  8. #23
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by Sebastiani View Post
    That's...pretty unusual. Have you always done this, or is it just programming induced?
    I've always done it. As a child I had several nervous behaviors (not sure if they'd qualify as "tics" or not, although a neurologist did look at me). They've all passed except for this one.

    I think it's psychological, not neurological. I remember as a young kid, holding my father's hand and squeezing his thumb in exactly the same way. He got annoyed by it, told me not to do it anymore, and so I started doing it to my own thumb. That's my theory, anyway.

    For a while I tried substituting something else for it, like squeezing a ball of putty. Didn't really work.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  9. #24
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    I guess this isn't really a "bodily habit", but I do require a number of small, totemic stuffed animals around me while programming. They give me advice and seem to absorb my occasional frustrations. I always know I have lost perspective when my communication with my totemic idols breaks down.

    I may not be alone in this; I was at a "web 2.0" convention last year and the most popular piece of swag (like, people were lining up and demanding to know where they came from) was a soft monkey with a cape and arms with slingshot bands inside, so you could pull the arms and fire the monkey into the air. There's some kind of kinetic noise maker inside connected to the slingshot bands, so while flying he makes a kind of "ooohh nnnooo!" squeak

    Beyond that I'm not really religious but I also have a statue of Kali, mounted on a tiger, that I found. She is sort of an ancient, comforting presence with eight arms and a flaming sword.
    Last edited by MK27; 06-14-2009 at 05:30 PM.
    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

  10. #25
    The Registered User Aparavoid's Avatar
    Join Date
    May 2009
    Posts
    74
    Nail biting. Smokers think they got it bad, but they definitly don't.

  11. #26
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    >> I remember as a young kid, holding my father's hand and squeezing his thumb in exactly the same way. He got annoyed by it, told me not to do it anymore, and so I started doing it to my own thumb. That's my theory, anyway.

    That makes sense. We have a family friend whose son would do that to his fathers ears. As it turns out, the father explained to us, it was probably because he used to caress his sons ears when he was a toddler!

    Beats rocking back and forth in your chair like a mad man, I guess.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  12. #27
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by MK27 View Post
    I guess this isn't really a "bodily habit", but I do require a number of small, totemic stuffed animals around me while programming. They give me advice and seem to absorb my occasional frustrations. I always know I have lost perspective when my communication with my totemic idols breaks down.
    I remember reading a story about a Berkeley (MIT? Somewhere else?) computer science tutor who worked in the student lab. When a student would come to him with a question, he'd pull out an old Teddy bear. "Ask the bear first," he'd say, and would not help with the student's question until the student had done so.

    9 out of 10 times (or something like that), the student would be enlightened simply by the act of explaining the problem to somebody, even if that somebody was an inanimate object.

    I read that a long time ago, and took it to heart. You sure feel stupid interrupting somebody to ask a question, only to arrive at the answer yourself before they even get a chance to say anything.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  13. #28
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    That's a pretty funny story, but it's absolutely true. That principle should be taught in schools, come to think of it.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  14. #29
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687
    I forget to blink
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

  15. #30
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    Location
    In my head
    Posts
    391
    I grind my teeth, frown, growl, rub my forehead, squint and lean towards the monitor.

    Sometimes I take off my clothes, paint my body, and make offerings of fruit, animal furs and stone flints to the almighty Debugger!
    OS: Linux Mint 13(Maya) LTS 64 bit.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 03-20-2009, 05:22 PM
  2. Coding Guideline ....!!
    By imfeelingfortun in forum Tech Board
    Replies: 8
    Last Post: 10-08-2006, 07:09 AM
  3. Bad coding habits
    By Magos in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 09-12-2005, 05:44 PM
  4. Before Coding
    By cyberCLoWn in forum C++ Programming
    Replies: 16
    Last Post: 12-15-2003, 02:26 AM
  5. Coding Contest....
    By Koshare in forum A Brief History of Cprogramming.com
    Replies: 46
    Last Post: 10-14-2001, 04:32 PM