I have learned to just give up in those situations. Sometimes following your instincts instead of controlling them is a good idea. If your body or mind decides it would really prefer to be doing something else, let it.

Grab a can of your favourite beverage and get really into your time wasting activity. I've noticed that a lot of people who have done as much study as you must have often have trouble with the idea of 'wasting' an evening. In reality, you aren't wasting it at all. You'll feel better for it, and the next day you'll feel more like 'working' because you'll still have happy memories from your last recreation break (well, it works for me).

As for the goals and gratification, I agree that breaking them down into sub components helps a lot. I can't even stand writing a function without seeing it work, let alone a whole module. I wouldn't worry too much about the instant gratification thing. You have to get your (psychological) 'payoff' somehow, otherwise why would you be doing it at all?

____________________
Jeremy
I didn't believe in evil until I dated it.


In reply to Re: Programming and Instant Gratification by jepri
in thread Programming and Instant Gratification by Masem

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.