Part of it was that a new episode of Samuri Jack was on :-), but another reason was that while I knew what I wanted, there seems to be a lot of extra steps in between starting with nothing, figuring out the right nmap and netstat calls, parsing them, combining them, and returning the data in some usable format. For some reason, at least for a Monday night, I couldn't see myself sitting through that process to develop it. Mind you, the idea is still there, and I will try to get to it later in the week, but I've found that lately I've been having problems getting started on any of these projects that I've got in my mind due to causal distractions.
I think part of this comes down to the idea of instant gratification, and the more I think about this, I realize that I typically am one of those that looks for this; certainly, this isn't uncommon. I look at how I regard my experiments that I do at work; some I can assertain the results immediately, and I get more excited about those, while others that require a bit more time or work to get meaningful numbers from, I'm a bit hesitent to work on. With regards to programming, instant gratification comes if I can write a quick 10 line perl script to get something done, but if it's going to involve a lot of background research or the like, I must be in the right mindset to get going on it; once the project's at a point that changes or additions have some visible result with running the code, then it's much easier to continue. This is probably more of a problem for programming done on personal time as opposed to work-related programs, since you HAVE to get those done to earn your paycheck.
So, last night instead of programming, I flipped on the DC and played some games (the ultimate form of instant gratification), browsed the web, and otherwise 'wasted' the night.
So I'm wondering if anyone has any advice, both programmatically or environmentally, that would help in avoid the instant gratification syndrome. I can already think of a few ideas. For complex projects, tasks such as unit testing on small segments of code can help , as you can 'contain' each development piece to a short programming challenge with a way to generate results. Setting a goal for a larger project ("I will write this function and this function today") also seems to help; particularly if those goals are met in the time, then moving on to additional goals is usually an easy extention in the same period. I also figure that programming every day on the same project is good, and a hour or two playing games is certainly enough to allow for the need for instant gratification to be served.
It could also just be an issue of willpower; forcing myself to do the programming despite the lack of instant rewards.
-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
It's not what you know, but knowing how to find it if you don't know that's important
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Programming and Instant Gratification
by VSarkiss (Monsignor) on Oct 16, 2001 at 18:53 UTC | |
|
Re: Programming and Instant Gratification
by perrin (Chancellor) on Oct 16, 2001 at 19:21 UTC | |
|
Re: Programming and Instant Gratification
by jepri (Parson) on Oct 16, 2001 at 19:54 UTC | |
|
Re: Programming and Instant Gratification
by lachoy (Parson) on Oct 16, 2001 at 22:23 UTC | |
|
Re: Programming and Instant Gratification
by stefan k (Curate) on Oct 16, 2001 at 19:28 UTC | |
|
Re: Programming and Instant Gratification
by Anonymous Monk on Oct 17, 2001 at 07:30 UTC |