Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Overcomming Programmer's Block?

Posted by Cliff on Tue Aug 01, 2000 06:23 AM
from the regaining-your-focus dept.
goingware asks: "What do you do if your productivity drops to two lines of code a day, and you just sit and stare at the code and feel like you don't know how to do it anymore? On the outside, it would seem my problem is that I've got some difficult architectural issues that I'm wrangling with. I'm not sure what the right way is to approach a certain feature I'm building into my program in C++. But what my real problem is that I just sit and stare at the computer all day long feeling scared and anxious. I'm afraid to try anything out at all for fear of making a mistake. I know I could just back up the code and write any old thing and throw it away if it's wrong, but for some reason knowing that doesn't help." What do you do when you are stuck in code and your focus leaves you? This isn't something as easy as getting up from the problem for a while (although that helps), this is sounds like something closer to burn-out. What can programmers do to combat this?

"I've encountered this before, but it's not normally like me. I've been programming as a career for something like 13 years now and shipped dozens of products. I've had many obstacles before and overcome them through many and various means... means which all escape now.

Right now I feel like a clueless newbie assigned the task of re-architecting a nuclear powerplant control system.

This has really got me down. I have a product to ship. I called my client and asked to take a few days off from coding, and told her I'd be hitting the C++ books and taking a rest and trying to rejuvenate my programming creativity. She was OK with this. So part of that process is posting my question here."

This discussion has been archived. No new comments can be posted.
Overcomming the Programmer's Block? | Log In/Create an Account | Top | 403 comments (Spill at 50!) | Index Only | Search Discussion
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1) | 2 | 3 | 4 | 5 | 6
  • Leave the brain at home.... by Anonymous Coward (Score:1) Tuesday August 01 2000, @01:36AM
  • Experiment by Anonymous Coward (Score:1) Tuesday August 01 2000, @02:02AM
  • by Anonymous Coward on Tuesday August 01 2000, @01:42AM (#889677)
    Go to the toilet. Some of the best inspirations have come while sat on the crapper, trousers around my ankles. And if nothing comes to you, well, that dump you took was at least *one* productive thing in your day !
  • Re:The Author Speaks by Jesse Shrieve (Score:1) Tuesday August 01 2000, @10:24PM
  • Overcoming the block by MadCat (Score:1) Tuesday August 01 2000, @02:09PM
  • Learn something New by Talin (Score:1) Tuesday August 01 2000, @06:07AM
  • Where Software Engineering fails you by Kostya (Score:1) Tuesday August 01 2000, @06:24AM
  • Stop reading slashdot.. by Thomas Charron (Score:2) Tuesday August 01 2000, @05:46AM
  • Re:"I must not fear." by Thomas Charron (Score:2) Tuesday August 01 2000, @06:21AM
  • Re:R&R -and- FSP by Malc (Score:1) Tuesday August 01 2000, @04:08AM
  • Breaking out by citmanual (Score:1) Tuesday August 01 2000, @02:14AM
  • What to do? by asherlev (Score:1) Tuesday August 01 2000, @09:08AM
  • ** by Lullabye (Score:1) Tuesday August 01 2000, @02:00AM
  • Re:The Author Speaks by Mawbid (Score:2) Tuesday August 01 2000, @02:37AM
  • The solution(s) by Nicolas MONNET (Score:2) Tuesday August 01 2000, @01:58AM
  • Re:Some thoughts for when the crisis hits by djweis (Score:1) Tuesday August 01 2000, @03:18AM
  • Re:The Author Speaks by miket (Score:1) Tuesday August 01 2000, @04:27AM
  • Caffeine is okay by David Gould (Score:2) Tuesday August 01 2000, @10:40AM
  • Re: Caffeine is okay -- for [me]. by David Gould (Score:2) Tuesday August 01 2000, @07:16PM
  • by jht (5006) on Tuesday August 01 2000, @02:15AM (#889694) Homepage Journal
    I was in just such a situation about 12 years ago - I'd graduated from writing dBASE code to writing 4th Dimension code on Macs, and I was working on a customer program. I ran into the wall, trying to code things I could have done blindfolded in dBASE.

    I studied the system for quite some time trying to get around it, and finally concluded that I'd hit my limitation as a programmer. I just couldn't make the leap to the different programming style that was needed. I resigned the contract, gave a good deal of the money back, and wound up going into networking instead. Since then, I've written only a handful of code - a couple of HyperCard apps when that first came out for fun, and a few shell scripts and Perl hacks to automate stuff. And one more "for pay" coding job - a script app written in the old Mac White Knight comm language to automate file transters for a doctor I knew. That's it.

    Needless to say, I hope that most people do not follow my example! I lucked out and was able to pick up another skill (that I turned out to be better at), when I ran into my programming limits.

    Because even then I wasn't a very good coder...

    - -Josh Turiel
  • Re:The Author Speaks by _14k4 (Score:1) Tuesday August 01 2000, @04:47AM
  • Go work on the bench ... by _14k4 (Score:1) Tuesday August 01 2000, @04:55AM
  • by LizardKing (5245) on Tuesday August 01 2000, @01:40AM (#889697) Homepage
    One thing I've noticed is that simply working longer hours doesn't normally make me more productive. There seems to be a two or three hour surge of activity, after which I have to take a break - read some newsgroups, go for a walk, whatever. In these situations the "leave it and come back to it" approach really works.

    If the problem still looks bad when I get back to it, then the next thing I do is ask a colleague for advice. In situations where there isn't another programmer around, I simply describe the problem to any willing listener. Often the simple act of talking about a problem elucidates the solution. Now this is going to sound silly, but I've even talked to my cat when working at home and sometimes had that "eureka" moment.

    If the task is simply beyond your ability, then it's time to admit it - approach your manager and say so. Grit your teeth and accept that no proprammer can do everything. Just hope that your boss understands that. If you lied about your abilities to get the job, then I've no sympathy for you (having fixed cock-ups by such people). Otherwise, if your boss is able to do his job properly, then he should be able to see this is a resource issue - not a general failing in yourself.

    I've actually quit a job because I felt the task I got given was beyond my abilities - finding some comfort in the fact that programmers are a scarce resource. While it is a drastic course of action, I felt almost europhic knowing the stress was over. So if it's not just burn-out consider getting out of the job.

    Chris
  • coffe by overlord (Score:1) Tuesday August 01 2000, @01:51AM
  • Re:Terrible programmer's block by Phil Wilkins (Score:1) Tuesday August 01 2000, @10:44AM
  • What I always do.. by Rob Kaper (Score:1) Tuesday August 01 2000, @01:45AM
  • Re:Owning work related code by Rob Kaper (Score:1) Tuesday August 01 2000, @03:56AM
  • by Rob Kaper (5960) on Tuesday August 01 2000, @01:48AM (#889702) Homepage
    Work on something personal. I know many bosses and companies won't let you, not even on your own time, but if you are allowed to code on your own time, do this:

    • Write a module you'll be using in a home project as well. You'll be very motivated and will make it perfect.
    • Write it in a generic way, with plenty of configurability. Basically generic enough so that you can implement it at work.
    • Implement it at work.

    This is not exactly how I do things at my work, but there have been ocassion where I have introduced code of my own into the knowledge base of work. (don't worry, I have a clause in my contract which states the company and I will share intellectual property so I won't lose a damn thing)

  • Re:Superstitian as an answer to science by LinuxGeek (Score:2) Tuesday August 01 2000, @10:37AM
  • Re:I get this all the time. by Psiren (Score:2) Tuesday August 01 2000, @02:12AM
  • Programmer's Block by jeff.paulsen (Score:2) Tuesday August 01 2000, @11:27AM
  • escape by burgess (Score:1) Tuesday August 01 2000, @12:36PM
  • Re:get some fresh air by bonehead (Score:1) Tuesday August 01 2000, @05:04AM
  • Re:get some fresh air by bonehead (Score:1) Wednesday August 02 2000, @06:19AM
  • write documentation for a day or two by SigILL (Score:1) Tuesday August 01 2000, @02:33AM
  • Write documentation/Do something else/New language by andrew cooke (Score:2) Tuesday August 01 2000, @01:36AM
  • Just Start Writing by jjr (Score:1) Tuesday August 01 2000, @01:46AM
  • Scientists mistreating scientists by leonbrooks (Score:1) Tuesday August 01 2000, @06:34PM
  • Nah. Code a game instead. by leonbrooks (Score:1) Tuesday August 01 2000, @06:47PM
  • Re:Take a personality test, or Write a Nice Rant! by Anonymous Coed (Score:1) Tuesday August 01 2000, @06:16AM
  • by hatless (8275) on Tuesday August 01 2000, @01:50AM (#889715)
    Doesn't anyone make flowcharts or other software and data diagrams before they launch their text editor? Assuming you're writing new code and not debugging, why are you staring at the screen? Coding anything vaguely complex off the top of your head is Not Good.

    Stop thinking in C++. Start with the big picture. Map out the problem. Then drill down to the architecture. Then drill down to the core functions of each module. Then firm up your data/object models. Next, drill down to the detailed design. Most of this should be boxes, arrows and lines, not code.

    Then, and only then, start doing serious real coding. If you wing it, you're liable to get stuck or produce something pretty unwieldy.
  • Run away by PinglePongle (Score:1) Tuesday August 01 2000, @01:46AM
  • MBTI is legit, IMHO by xdc (Score:2) Tuesday August 01 2000, @10:35AM
  • GET OFF IRC!!! by Noke (Score:1) Tuesday August 01 2000, @01:33AM
  • Re:Advanced Technique by dmeiz (Score:1) Tuesday August 01 2000, @03:19AM
  • Re:Pray (Score:4)

    by MAXOMENOS (9802) <maxomai@gmail.COUGARcom minus cat> on Tuesday August 01 2000, @08:20AM (#889720) Homepage

    I find it helps to stop and pray, even if just for a minute. I lean back in my chair, put my feet up on my desk and ask God for inspiration. It's helped me out of blocks many times.

    In my case, I find that a lesser banishing ritual of the pentagram helps.

    Mutatis mutandis for your own faith.

    The Tyrrany Begins.... [fearbush.com]

  • Re:Get Offline :) by david614 (Score:1) Tuesday August 01 2000, @03:06AM
  • so true (Score:4)

    by tuffy (10202) on Tuesday August 01 2000, @02:56AM (#889722) Homepage
    Being hooked up to the net at work, there's always the temptation to fire up the old web browser and check the latest goings-on when things are getting a little dull and slow. There's plenty of neat stuff online, but it's an awful distraction when trying to Get Stuff Done.

    So, when I built my box for home, I had them install a nice ethernet card for my little LAN, but I kept the modem out. And the difference is pretty amazing. Just dis-engaging my mind from the computer, going outside and thinking about problems without the computer staring back at me is quite refreshing and helps my creativity immensely. The computer is just a tool, after all, and sometimes one needs to put aside the tools to get a better look at the problem.

  • CODER JUICE by PureFiction (Score:2) Tuesday August 01 2000, @07:38AM
  • Home vs Office by SparkyUK (Score:1) Wednesday August 02 2000, @02:15AM
  • Time off + exercise + bananas = more serotonin by Snorbert Xangox (Score:1) Tuesday August 01 2000, @02:52PM
  • Re:You could always try a bigger change by Croaker (Score:1) Tuesday August 01 2000, @04:42AM
  • Extreme Programming Peer Programming by Asmodeus (Score:1) Tuesday August 01 2000, @05:05AM
  • Re:Take a personality test, or Write a Nice Rant! by daviddennis (Score:2) Tuesday August 01 2000, @07:54AM
  • Re:From a totally different angle by FreeUser (Score:2) Tuesday August 01 2000, @04:21AM
  • by arivanov (12034) on Tuesday August 01 2000, @02:25AM (#889730) Homepage
    I got married Saturday, BTW (July 22), to Bonita Hatcher so I got to spend a little time with my bride before I come back to slashdot!

    That is what you do to overcome a programmer's block. get a life.

  • Re:This is not meant too gratuitously ... by Y (Score:1) Tuesday August 01 2000, @04:31AM
  • Making mistakes... by cdtoad (Score:1) Tuesday August 01 2000, @01:58AM
  • Here is what I do. by Mullen (Score:2) Tuesday August 01 2000, @05:53AM
  • Whatever you do... by Sloppy (Score:1) Tuesday August 01 2000, @04:37AM
  • Re:coder's block by Jonathan White (Score:1) Tuesday August 01 2000, @02:11AM
  • What can programmers do to combat this? by Mindwarp (Score:2) Tuesday August 01 2000, @05:01AM
  • My favorite technique by davidr (Score:1) Tuesday August 01 2000, @03:47AM
  • Re:Take a personality test, or Write a Nice Rant! by SpacePunk (Score:2) Tuesday August 01 2000, @04:21AM
  • i have this a lot. by mlk (Score:1) Tuesday August 01 2000, @01:46AM
  • Give yourself credit by dca (Score:1) Tuesday August 01 2000, @10:45AM
  • Diving into the backgrounds... by F.I.N.E. (Score:1) Tuesday August 01 2000, @01:43AM
  • Re:The Author Speaks by Saint Stephen (Score:1) Tuesday August 01 2000, @05:12AM
  • Re:Some thoughts for when the crisis hits by Clover_Kicker (Score:1) Tuesday August 01 2000, @04:20AM
  • Re:Pray by Vagary (Score:1) Tuesday August 01 2000, @08:09AM
  • Maybe this is a girl thing by Mina (Score:1) Tuesday August 01 2000, @05:39AM
  • Re:Actually, exercise really helps... by Mr T (Score:2) Tuesday August 01 2000, @05:11AM
  • Re:CAFFEINE is EVIL by snoopdave (Score:1) Tuesday August 01 2000, @05:46AM
  • Works for me too by whitehorse (Score:2) Tuesday August 01 2000, @05:28AM
  • Talk about it. by pcburns (Score:1) Tuesday August 01 2000, @01:28PM
  • talk to someone? by hugg (Score:1) Tuesday August 01 2000, @06:29AM
  • productivity by sohp (Score:1) Tuesday August 01 2000, @03:41AM
  • Some things to try by Electric Barbarella (Score:1) Tuesday August 01 2000, @01:31AM
  • Re:Some things to try by Electric Barbarella (Score:1) Tuesday August 01 2000, @01:49AM
  • Re:Some things to try by Electric Barbarella (Score:1) Tuesday August 01 2000, @02:00AM
  • Problem too large by FascDot Killed My Pr (Score:1) Tuesday August 01 2000, @02:29AM
  • Re:Just Start Writing by artg (Score:1) Tuesday August 01 2000, @03:03AM
  • Re:Take up smoking! by Dr. Sp0ng (Score:2) Tuesday August 01 2000, @04:47AM
  • Re:Owning work related code by SuperKendall (Score:2) Tuesday August 01 2000, @04:40AM
  • R&R -and- FSP by Brazilian Geek (Score:1) Tuesday August 01 2000, @01:43AM
  • Correction: R&R -and- *FPS* by Brazilian Geek (Score:1) Tuesday August 01 2000, @01:45AM
  • Re:patterns, not flowcharts (book suggestions?) by BobMarley (Score:1) Tuesday August 01 2000, @07:46AM
  • Take a break and have fun! by UniDyne (Score:1) Tuesday August 01 2000, @03:25PM
  • Doing anything else.. by sporty (Score:2) Tuesday August 01 2000, @03:56AM
  • Re:get some fresh air by WSSA (Score:1) Tuesday August 01 2000, @02:41AM
  • Re:The Author Speaks by SEWilco (Score:1) Tuesday August 01 2000, @01:51PM
  • Re:Some thoughts for when the crisis hits by SWestrup (Score:1) Wednesday August 02 2000, @01:07AM
  • Swear by TheDullBlade (Score:2) Tuesday August 01 2000, @09:43AM
  • Re:Can you blame him? by TheDullBlade (Score:2) Tuesday August 01 2000, @04:03PM
  • ROTFLMAO! by TheDullBlade (Score:2) Tuesday August 01 2000, @10:31PM
  • Can you blame him? (Score:4)

    by TheDullBlade (28998) on Tuesday August 01 2000, @12:16PM (#889770)
    Given the way scientists were treated in those days when they tried to suggest that they knew things that officials of the church didn't, don't you think that terminating your essays with "Of course, I believe in God, and this is all God's work. Actually, this proves that God exists. Isn't God great?" could be motivated by self-preservation rather than severe belief?

    When atheism is oppressed (as it has been through most of history, and still is in much of the world), practical atheists give lip-service to religion. When speaking other words, or even remaining silent, would likely be punished, one's words are no evidence of anything at all.

    BTW, Newton was a remarkably ruthless and pragmatic person who is known, as a matter of historical record, to have told lies often, and about many things, for his own benefit.

    ---
    Despite rumors to the contrary, I am not a turnip.
  • Anarchistic Heuristics (or, What Works For Me) by phee (Score:2) Tuesday August 01 2000, @05:09AM
  • Huh, Huh, he said "far heap"... by drenehtsral (Score:2) Thursday August 03 2000, @03:26AM
  • Owning work related code by SparkyB (Score:1) Tuesday August 01 2000, @03:09AM
  • Rethink your code by Sitaram Iyer (Score:1) Tuesday August 01 2000, @12:21PM
  • Ask Slashdot: Overcomming bad speling by DonkPunch (Score:1) Tuesday August 01 2000, @04:59AM
  • I took up skydiving. by AndyMan! (Score:1) Tuesday August 01 2000, @04:13AM
  • Re:Actually, exercise really helps... by dead_penguin (Score:1) Tuesday August 01 2000, @06:40AM
  • by mav[LAG] (31387) on Tuesday August 01 2000, @01:55AM (#889778)
    I have this problem *all* the time. What works for me - apart from relaxing non-coding activities - is to take Sedgewick (or any classic text) and write one of the algorithms in there. Doesn't matter what it is: QuickSort, stack-based level order traversal of a binary tree, FFT - whatever. Pick a small one (so that it can be in one source file), read the chapter and then write it yourself. If you get stuck, you can always refer back to the text to see what's wrong.

    I find this method helps a lot: you can produce a small elegant system which works. It's like "wow - this is really elegant and I coded it." It seems to switch your programming circuits on but leaves the blockers off. The result is you realise you *can* program after all and you'll have probably learned something in the process - maybe a deeper understanding of the algorithm or a faster way to do things. The brain is pretty good at self-organising which means any knowledge you gain doing this could well help you with a stumbling block elsewhere i.e. you're not wasting time on a trivial exercise...

  • Real world work by StRex (Score:1) Tuesday August 01 2000, @08:20AM
  • Same old problem by sela (Score:1) Tuesday August 01 2000, @01:48AM
  • Burned out by leftorium (Score:1) Tuesday August 01 2000, @01:28AM
  • Ways I deal with Burn out by torcail (Score:1) Tuesday August 01 2000, @02:43AM
  • Re:Some thoughts for when the crisis hits by hey! (Score:2) Tuesday August 01 2000, @04:47AM
  • burn out by anal0gue (Score:1) Tuesday August 01 2000, @01:43AM
  • Re:Programmer's block by AaronW (Score:1) Tuesday August 01 2000, @05:34AM
  • Just Do It by Peter Clary (Score:1) Tuesday August 01 2000, @03:32AM
  • Re:stop staring at the screen by CDanek (Score:1) Tuesday August 01 2000, @02:54AM
  • Re:Superstitian as an answer to science by Artichoke (Score:1) Tuesday August 01 2000, @05:28AM
  • Re:The Author Speaks by CharlieG (Score:1) Tuesday August 01 2000, @04:33AM
  • Zzzzz.... by Stavr0 (Score:2) Tuesday August 01 2000, @04:32AM
  • Re:coder's block by Oxryly (Score:1) Tuesday August 01 2000, @02:05PM
  • Re:coder's block by YoungHack (Score:1) Tuesday August 01 2000, @04:44AM
  • It's a cue to STOP by MadChicken (Score:1) Tuesday August 01 2000, @08:33AM
  • coder's block (Score:5)

    by macpeep (36699) on Tuesday August 01 2000, @01:38AM (#889794)
    I just came back to Finland from something of a nightmarish project in Singapore. Me and a fellow coder wrote almost 1MB of code in a month (and even documented a large part of it in the same time). I spent some 330 hours coding during that month and quite often I would hit this very problem for whatever reasons, stress, fear, anxiety, lack of sleep. Since we were under a very tight deadline, I had to figure out a way to get around it and I actually came across something that worked for me. Hopefully someone else will find this useful.

    Finding myself unable to code, I started writing the code in english on paper. I would sit down in a corner of the room and start writing in english. "check the user permissions. if the guy is an admin, show this and that screen. for each line in the screen, make sure it's bla bla." and so on. Once I was done and saw that I had something that could work, I took the text, pasted it into the existing source code and started translating it to code (Java in this case). Maybe it won't work for everyone, but it did wonders for me and I was able to overcome my block several times this way.

  • The answer: Go into marketing by loftwyr (Score:1) Tuesday August 01 2000, @03:32AM
  • Re:get some fresh air by Zurk (Score:1) Tuesday August 01 2000, @02:40AM
  • Re:get some fresh air by Zurk (Score:1) Tuesday August 01 2000, @02:30PM
  • Re:Actually, exercise really helps... by Tower (Score:1) Tuesday August 01 2000, @02:59AM
  • The white board is your friend! by Skynet (Score:1) Tuesday August 01 2000, @04:20AM
  • Re:"Overcomming"? by Variant (Score:1) Tuesday August 01 2000, @04:53AM
  • Go to the Gym and/or camping by pocoloco (Score:1) Tuesday August 01 2000, @03:27AM
  • The answer is simple! by macdaddy (Score:1) Tuesday August 01 2000, @03:48PM
  • by coyote-san (38515) on Tuesday August 01 2000, @05:41AM (#889803)
    I never use flowcharts.

    At the implementation level, object-oriented code and flowcharts don't mix well. Most of us find little value in hundreds of flowcharts consisting of (start)->(call super)->(one line of additional code)->(return). Something like Z notation (to describe the object and the various operations on it), on the other hand....

    At the detailed design level, almost all problems break down into one of 500-1000 lower-level patterns. E.g., "this is how you recursively descend a directory tree." While you could use flowcharts, I (and many others) find it better to use canonical "null" examples. The work breaks down to verifying the common stuff is the same and our extensions do what we want. (See also earlier OO comment.)

    At the design level, "patterns" work best. At that level the focus isn't on *how* the code is put together, it's on *what* each block of code is supposed to do.

    So what's left? Flowcharts at the architectural level? I don't think so. (This level should have DTDs, though!)
  • dude... if you moved to the netherlands... by EnderWiggnz (Score:2) Tuesday August 01 2000, @04:41AM
  • Re:Get Offline :) by Kronos. (Score:1) Tuesday August 01 2000, @02:50AM
  • Re:Pray by bmacy (Score:1) Tuesday August 01 2000, @07:42AM
  • Sleep, lotsa caffiene and a little research. by BoLean (Score:2) Tuesday August 01 2000, @01:39AM
  • Re:Some thoughts for when the crisis hits by goul (Score:1) Tuesday August 01 2000, @04:35AM
  • Re:The Author Speaks by thogard (Score:2) Tuesday August 01 2000, @02:55AM
  • Re:Some thoughts for when the crisis hits by dancomfort (Score:1) Tuesday August 01 2000, @04:20AM
  • Use a Cardboard Cutout Dog. by sbaker (Score:1) Tuesday August 01 2000, @03:52PM
  • Not the Author Speaking by Devil Ducky (Score:2) Tuesday August 01 2000, @03:53AM
  • by Devil Ducky (48672) <slashdot@devilducky.org> on Tuesday August 01 2000, @03:40AM (#889813) Homepage
    Hobbies away from a computer? Blasphemy!

    Seriously you dont have to get away from computers just away from programming in all of it's forms. You can surf the 'net, read /., laugh at some AOLers. All of these things are done on a computer but should not remind you of programming (unless you start editing the slashcode for some reason).

    As for your second suggestion, why not boast? Coders just get made fun of in the "real" world. Why not let someone know exactaly how important what you are doing is.

    And if you find some girl who will actually listen to you while you are boasting: Marry her. I'm not kidding about that.

    Devil Ducky
  • Re:Not the Author Speaking by jwonase (Score:1) Tuesday August 01 2000, @07:15AM
  • Re:coder's block by tdrury (Score:2) Tuesday August 01 2000, @04:32AM
  • extreme/interative programming by tdrury (Score:2) Tuesday August 01 2000, @04:40AM
  • Terrible programmer's block by Hard_Code (Score:2) Tuesday August 01 2000, @05:12AM
  • Advanced Technique by _vSyncBomb (Score:1) Tuesday August 01 2000, @01:41AM
  • Here's a thought by kaphka (Score:2) Tuesday August 01 2000, @09:10AM
  • Re:The solution(s) by CokeJunky (Score:1) Tuesday August 01 2000, @03:33AM
  • This is not meant too gratuitously ... by Megasphaera Elsdenii (Score:1) Tuesday August 01 2000, @03:43AM
  • Take a break by jmintha (Score:1) Tuesday August 01 2000, @01:39AM
  • My advice... by teraflop user (Score:2) Tuesday August 01 2000, @02:30AM
  • Re:Burned out by Navarre (Score:1) Tuesday August 01 2000, @02:19AM
  • Re:Tell someone who doesn't care by SnakeStu (Score:1) Tuesday August 01 2000, @10:23AM
  • Take a walk... by Capt_Troy (Score:1) Tuesday August 01 2000, @04:10AM
  • by theonetruekeebler (60888) on Tuesday August 01 2000, @03:41AM (#889827) Homepage Journal
    I recently reread Robert Pirsig's Zen and the Art of Motorcycle Maintenance [amazon.com] and came across a passage that got me out of a period or coder's--and writer's--block:
    Stuckness shouldn't be avoided. It's the psychic predecessor of all real understanding. An egoless acceptance of stuckness is a key to an understanding of all Quality, in mechanical work as in other endeavors.
    The whole passage was about finding yourself in a place where you aren't producing visible results for your mental efforts. I can't remember how many times I've agonized for days or weeks over a hairy code module thinking I would have to rewrite the whole thing from scratch, then just walking in one morning and making two or three small, seemingly unrelated changes, which would not only fix the thing, but would make it run right.

    So I think you did the right thing by riding it out, reviewing fundamentals, letting the solution present itself to you of its own accord.

    If you think of writer's block as a boulder in your path, you can extend the metaphor to how you go about destroying it: You can either flail away at it with a sledgehammer, expending enormous energy to make slow, painful progress; or you can study the rock, learn it, find the cracks, insert the chisel and destroy it with two or three taps. It is rather Zen. When you are not actively typing away at a problem, you are gaining awareness of its true nature.

    So use your time of stuckness to do good things, and if you work where your manager says things like "I didn't hire you to think, I hired you to work", buy him a copy of Demarco and Lister's Peopleware [amazon.com] and tell him to go away and come back when he's read it.

    Note: The above links to Amazon.com do not imply endorsement of them. Support your community's independent bookstores: read Amazon's reviews of these books, then purchase them locally.

    --

  • Re:It's obvious by gwicks (Score:1) Tuesday August 01 2000, @10:57PM
  • Digression and back to topic: Coding in English. by Ungrounded Lightning (Score:2) Tuesday August 01 2000, @06:40AM
  • Write something else by dannyp (Score:2) Tuesday August 01 2000, @02:00AM
  • Re:The Author Speaks by barleyguy (Score:2) Tuesday August 01 2000, @05:09AM
  • Re:The Author Speaks by barleyguy (Score:2) Wednesday August 02 2000, @05:32AM
  • Re:I get this all the time. by Largos (Score:1) Tuesday August 01 2000, @09:55AM
  • by mkafka (66546) on Tuesday August 01 2000, @01:36AM (#889834)
    The Slashdot crew isn't the mostly likely group to go hit the weights, but for me physical exercise really helps keep my mental side running smoothly.

    Endorphines and what not, I guess... Plus it helps get your body tired so you can get longer, more restful periods of sleep. They've done lots of research showing heavy exercise can overcome some mental problems like ADD, and that is the same mindset I end up in when I feel blocked...

    Best of luck.
  • Write something fun by AveryRegier (Score:1) Tuesday August 01 2000, @02:57AM
  • Absolutely. Soulless jobs kill your soul. by sumana (Score:2) Tuesday August 01 2000, @06:55AM
  • Programmer's Block? or Total Burnout? by ThePolack (Score:1) Tuesday August 01 2000, @05:52AM
  • trivial advice: do something else on the todo list by jcupitt65 (Score:1) Tuesday August 01 2000, @01:40AM
  • Programmer's block (Score:5)

    by wowbagger (69688) on Tuesday August 01 2000, @02:08AM (#889839) Homepage Journal
    I too have been programming professionally for over a decade (in C++), and here's what I've learned:

    Don't be afraid to fail.

    Sometimes, the problem definition is too vague, or there are too many unknowns in the mix. You have to follow the scientific method, and the first step of the scientific method is gather data.

    You have a module that you cannot figure out how to do? cvs commit, then say to yourself, "Self, we're going to write something to see what is what. When we are done, we will delete what we have written, and using what we've learned, write it properly". You'll be amazed at how much clearer the hidden requirements become when you start bashing code against them.

    Now, as to the C++ issue: I don't know if part of the problem is your level of skill in C++, or if that is just a red herring. If you really aren't comfortable using OOD, then for Torvalds' sake DON'T! Just write the code proceedurally. Again, I've often found that once I've written a code block, I can then better see where the objects are within the code. Then, I re-write the code to be OO.

    In my experience, no object is reusable from the beginning, no matter how much work you put into it, no matter how long you worked on the design. Only after the third time a class has been used have you come close enough to defining what functions need to be virtual, what members non-private, what args need to be passed to the constructor, etc., to make the class really reusable. Accept it and move on.

    Like I said, don't be afraid to fail. It's the only way you will succeed.
  • Re:What if? by locoluis (Score:1) Tuesday August 01 2000, @01:16PM
  • I'm blocked too. Ignore last comment. by locoluis (Score:1) Tuesday August 01 2000, @01:22PM
  • What's all that coffee myth? by locoluis (Score:1) Tuesday August 01 2000, @01:34PM
  • Coders block by Fr05t (Score:1) Tuesday August 01 2000, @02:24AM
  • Exercise + choline/inositol by rlglende (Score:1) Tuesday August 01 2000, @05:04AM
  • Go for a long walk .... by taniwha (Score:2) Tuesday August 01 2000, @06:48AM
  • Re:coder's block by kbs (Score:1) Tuesday August 01 2000, @02:33AM
  • I agree by /Idiot\ (Score:1) Tuesday August 01 2000, @05:20PM
  • GET OFF THE CAFFIENE by orev (Score:2) Tuesday August 01 2000, @04:28AM
  • Become a Manager? (Score:4)

    by grantdh (72401) on Tuesday August 01 2000, @03:24AM (#889849) Homepage Journal
    What do you do when you are stuck in code and your focus leaves you?

    Bail out - become a manager - it's worked for so many others - how can it be wrong? :)

    But seriously:

    In one place I worked at, we had a standing rule - if you were bogged down, it was better to just pack up and go home for the day. Get out, get some R&R and get back tomorrow to resolve the issue.

    This came about mostly 'cos I had a couple of occasions where, after pounding at a problem until late at night, I'd give up and go home. I'd be half way home when I'd realise what I'd done wrong and, turning around, would race back to plow through the issue.

    So, it was not uncommon to hear a defiant "SCREW THIS AND THE HORSE THAT CRAPPED IT!" from the development area followed shortly after by a resolute programmer storming out of the office. Usually within an hour the person would be back with a solution.

    Worked almost every time...

  • Re:extreme/interative programming by dsplat (Score:2) Tuesday August 01 2000, @08:55AM
  • TAOCP by TheKodiak (Score:1) Tuesday August 01 2000, @03:24AM
  • Easy: Step away from it. by -=[ SYRiNX ]=- (Score:1) Tuesday August 01 2000, @03:39AM
  • I Floss! by dalamar (Score:1) Tuesday August 01 2000, @04:38AM
  • Change of scenery by Monolith (Score:1) Tuesday August 01 2000, @08:55AM
  • Re:stop staring at the screen by KenSeymour (Score:1) Tuesday August 01 2000, @07:58AM
  • Read a book! (a real book) by neowintermute (Score:1) Tuesday August 01 2000, @06:19AM
  • relax by ^DA (Score:1) Tuesday August 01 2000, @02:25AM
  • Story of my life by The Blue Daisy (Score:1) Tuesday August 01 2000, @01:53AM
  • Don't Worry About It by An El Haqq (Score:1) Tuesday August 01 2000, @07:46AM
  • Start off easy by iGN97 (Score:1) Tuesday August 01 2000, @12:39PM
  • Gang of Four/cultural revolution reference? [OT] by willis (Score:1) Tuesday August 01 2000, @07:57AM
  • The Author Replies by goingware (Score:2) Tuesday August 01 2000, @09:04PM
  • I work best with the net shut off - in a car! by goingware (Score:2) Tuesday August 01 2000, @09:31PM
  • I used to hang out with the smokers by goingware (Score:2) Tuesday August 01 2000, @10:16PM
  • Why the ZDNet writer didn't credit my quote by goingware (Score:2) Friday August 04 2000, @06:08PM
  • Just fire up your Bong! by Atomix8 (Score:1) Tuesday August 01 2000, @04:16AM
  • Re:patterns, not flowcharts (book suggestions?) by JSBiff (Score:1) Tuesday August 01 2000, @06:38AM
  • by gharikumar (87910) on Tuesday August 01 2000, @01:36AM (#889868)
    Programming is an intensely mind-consuming activity that can leave you mentally exhausted. You need to give your mind a chance to clear off the cobwebs and stay fresh.

    Suggestions:

    1) Develop some hobbies or other interests that have nothing to do with computers or books or other mental activity. Preferably, some physical sport that causes you to sweat a little, or something like carpentry . Spend at least 30 minutes a day on such activity. A healthy mind requires a sound body to stay healthy.

    2) Hang out with some non-programmers of the opposite sex once in a while. Tell them about what you are doing (in a non-boasting way). Never underestimate the effect of the power of "wanting to show off" on your creativity.

    Hari.

  • Speaking from experience... by nahdude812 (Score:1) Tuesday August 01 2000, @01:42AM
  • Re:The Author Speaks by isaac_akira (Score:2) Tuesday August 01 2000, @10:13PM
  • Re:Actually, exercise really helps... by gid-foo (Score:1) Tuesday August 01 2000, @06:36AM
  • What I normaly do. by GrEp (Score:1) Tuesday August 01 2000, @02:56AM
  • "I must not fear." (Score:5)

    by laborit (90558) on Tuesday August 01 2000, @02:22AM (#889873) Homepage
    "I must not fear. Fear is the mind-killer. Fear is the little death that brings total obliteration...

    But you probably already know that. And I already know the cruelty of simply telling someone not to fear. I'm no programmer, but your problem is universal.

    You are finding it difficult to work. This is because, as you perceive it, the risks of continuing outweigh the benefits. You may explicitly tell yourself that this is not so ("I know I could just back up the code and write any old thing and throw it away if it's wrong"), but the horde of automatic thoughts that rise up when you contemplate doing it say different. You know that in a long-term sense, bearing down and getting through the work is the best thing by far. But when an individual's fears of failure become strong enough, it can force hir out of the long-term perspective and into a low-level, immediate world, the same way that you can be stopped from contemplating Rodin's Age of Bronze by a splinter. This is the point where you might just be told to shut up and work through it, but another way is to figure out what your fears are, whether they're reasonable, and whether they can be disproved or transformed.

    If you were trapped in a situation where the alternatives were painful, awful failure and procrastination, your solution would be to procrastinate. You must acknowledge that this is reasonable. The first step is not to blame or criticize yourself, which only increases your paralysis, but to compassionately accept that you're in a bad situation and start working to get a handle on it. It sounds like you're already on that road.

    Now, we have to find out why you're fearful and emotional about this project and whether it makes sense to be that way. The simplest of all tools in my field of study is the double-column technique. Just think about the automatic thoughts that go through your mind when you contemplate working, and get them written down on the left-hand side of a sheet of paper.

    I don't know what your thoughts are, but for many people they may look like this:
    1) I'm going to make a lot of mistakes and look stupid.

    2) I won't be able to handle this problem at all, which will make me a failure as a programmer.
    3) I'm going to reveal that I'm not as skillful as I pretended to be, and have been a fraud all these years.
    These are frightening. Are they true? In fact, they contain cognitive distortions that all people make to some extent. The second and third show the especially insidious error of dichotomous thinking, the tendency to see things in an all-or-nothing sense. A single failure could be due to a specific hole in your education, emotional factors outside your work, a lingering virus, or all sorts of things. But even if you completely and utterly screwed up, would that erase thirteen years of success? Surely that makes no sense!

    On the right-hand side of the sheet, write the best refutations you can think of to these statements. They should be compassionate, insightful, and constructive -- everything you'd tell a friend in your situation. In this example, they might be:
    1) No one will see my mistakes but me, and I already know I'm not stupid. I'm an elite hacker! Doing things wrong is annoying, but ultimately it's how I learn to do them right.

    2) If I do screw this up, it won't make all the things I've learned and all the successful projects I've done magically disappear. It will mean I did one thing wrong, and for a lot of possible reasons at that.
    3) Which is more reasonable: that I've had a slump lately, or that everything I've done in my life has been some insane con game? I know that I have the skills to handle this. Even if it takes a lot of work, I can afford to do it calmly and happily, knowing that even missteps take me closer to my goal.
    Keep your refutations with you at all times, and write them down as you think of new ones, or notice new automatic thoughts. What you have to do is take the most powerful and frightening thoughts you can uncover and argue them down. I mean seriously argue, bringing up the best refutations you can and trying to believe them wholeheartedly. Even if you don't buy them now, think how much more productive they can make you. This isn't really dishonest; if this rational optimism leads to repeated failure, you can always re-evaluate it and change to thinking you're a washout.

    Fear and self-criticism are terrible motivators. Relaxed understanding allows you to work with an absorbed sense of flow. To put it tersely:

    chill.

    - Michael Cohn

    Important note: I am a student, not a licensed or degree-holding psychologist. I am giving you a digest of other researchers and writers. This may be valid self-help advice but should not be relied upon for severe or life-threatening problems

    Recommended reading on the subject of Cognitive-Behavioral Therapy:

    Beck, Judith: Cognitive Therapy, Basics and Beyond -- a textbook. Dry but comprehensible.

    Burns, David: Feeling Good -- a self-help classic. Burns is a moron about a lot of things, but it's overflowing with useful techniques and arguments.

    Ellis, Albert: A New Guide to Rational Living -- If you're sick of therapists who act like Deanna Troi, you'll be pleased when Ellis comes and kicks you in the ass.
  • Coffee, Peanut M&Ms and a walk around the office by casio (Score:1) Tuesday August 01 2000, @04:41AM
  • Re:stop staring at the screen by MicroBerto (Score:1) Tuesday August 01 2000, @04:01AM
  • Congrats, you're on ZDNet by sremick (Score:1) Friday August 04 2000, @05:44AM
  • by TopShelf (92521) on Tuesday August 01 2000, @03:15AM (#889877) Homepage Journal
    Caffeine's great if you know the path that you're on is the correct one, and you just need to hammer out code and work intensively for hours on end. It's like strapping a rocket booster on - if you're pointed in the right direction, it works great. If you're lost, though, it won't help you at all.

    One means of stirring up the creative juices is to walk far away from the computer and pick up a good magazine (like Scientific American) with articles from a wide variety of backgrounds. It can be useful if you're an engineer, for example, to read articles from biologists or astronomers to give your brain a kick in a different direction...

  • The obvious by lostproc (Score:1) Tuesday August 01 2000, @04:40AM
  • Re:Gang of Four/cultural revolution reference? [OT by peterarm (Score:1) Tuesday August 01 2000, @08:28AM
  • It's obvious by TheReverand (Score:2) Tuesday August 01 2000, @01:29AM
  • Re:coder's block by DrCode (Score:1) Tuesday August 01 2000, @06:25AM
  • Re:Stress by TheCarp (Score:1) Tuesday August 01 2000, @03:03AM
  • Re:stop staring at the screen by TheCarp (Score:1) Tuesday August 01 2000, @03:06AM
  • Extreme Programming by sosedada (Score:1) Wednesday August 02 2000, @04:33AM
  • Get a Job ! (seriously) by dingbat_hp (Score:1) Tuesday August 01 2000, @02:34AM
  • Brain Wave function?? by menudo (Score:1) Tuesday August 01 2000, @03:01AM
  • Re:I'm there too... by Cable (Score:1) Monday August 07 2000, @09:33AM
  • Selfish Society by Captain Wartooth (Score:1) Tuesday August 01 2000, @05:41AM
  • Re:coder's block by Hartwell (Score:1) Tuesday August 01 2000, @05:51AM
  • Burnout strategy by NickAubrey (Score:1) Tuesday August 01 2000, @02:54AM
  • A change would do you good... by OmegaDan (Score:1) Tuesday August 01 2000, @04:36AM
  • Pair Programming(extreme) by JasonVergo (Score:1) Tuesday August 01 2000, @02:56AM
  • Re:Programmer Block by Winged Cat (Score:1) Tuesday August 01 2000, @12:22PM
  • Re:"I must not fear." by Winged Cat (Score:1) Tuesday August 01 2000, @12:26PM
  • Fighting Burn-out by catseye_95051 (Score:1) Tuesday August 01 2000, @10:56AM
  • Extreme Programming (XP) can help avoid this by uqbar (Score:1) Tuesday August 01 2000, @05:10AM
  • Re:The Author Speaks by NewOrder (Score:1) Tuesday August 01 2000, @03:32AM
  • I read Slashdot! by Domini (Score:1) Tuesday August 01 2000, @11:16PM
  • Re:Take a personality test, or Write a Nice Rant! by FeralChicken (Score:1) Tuesday August 01 2000, @01:15PM
  • My Solutions by jtriangle (Score:1) Tuesday August 01 2000, @04:20AM
  • Beer, beer, and more beer by mmmmbeer (Score:1) Tuesday August 01 2000, @06:18AM
  • Re:The Author Speaks by Reggyt (Score:2) Tuesday August 01 2000, @02:09AM
  • things to avoid by alangmead (Score:2) Tuesday August 01 2000, @01:51AM
  • Re:Actually, exercise really helps... by Nezumi-chan (Score:1) Tuesday August 01 2000, @03:19AM
  • Take up smoking! by BetaRelease (Score:1) Tuesday August 01 2000, @04:16AM
  • The Raymond Chandler technique by Avumede (Score:1) Tuesday August 01 2000, @05:02AM
  • Overcoming corpus collosum bandwidth limitations by eldurbarn (Score:1) Tuesday August 01 2000, @09:44AM
  • Processes by heikkile (Score:1) Tuesday August 01 2000, @02:03AM
  • From a totally different angle by -brazil- (Score:1) Tuesday August 01 2000, @01:36AM
  • Re:Works for me too by MotoMannequin (Score:1) Tuesday August 01 2000, @06:44AM
  • Re:coder's block by techwatcher (Score:1) Tuesday August 01 2000, @06:52AM
  • Re:The Author Speaks by FirstNoel (Score:1) Tuesday August 01 2000, @06:09AM
  • Don't do what I did... by re-geeked (Score:2) Tuesday August 01 2000, @09:43AM
  • by re-geeked (113937) on Tuesday August 01 2000, @09:59AM (#889914)
    Back at my first programming job in college, I would try to explain the problem I was having to the receptionist or data-entry clerk, and although I would really try to explain it in English, they would always stare blankly at me with no idea what was going on.

    Didn't matter, though, because by talking it out I always talked myself into an answer. I'd say "That'll work. Thanks!" and go back to my desk with them staring at my back, puzzled (and probably frightened).
  • just a few ideas... by ProudestMonkey (Score:1) Tuesday August 01 2000, @03:46AM
  • Re:You could always try a bigger change by garethwi (Score:1) Tuesday August 01 2000, @02:24AM
  • Quite Right by garethwi (Score:2) Tuesday August 01 2000, @01:44AM
  • by garethwi (118563) on Tuesday August 01 2000, @01:41AM (#889918) Homepage
    I know the author has spoken, and a holiday has provided the answer for him, but perhaps someone else who is really in a rut could try what I did.

    I changed everything about working with computers.

    For years I used to specialise in programming VB and Delphi apps in Windows (don't laugh, it paid the bills), and I was really in a rut. I had tried just about everything using those languages, and there was no very much left to interest me.

    So I made a big jump. I switched to Perl. I got a new job programming in Perl as a trainee consultant, and after 6 months solid learning, I still realise that I am only scratching the surface.

    Life couldn't be better. I'm having challenges again (I also switched from Windows/IIS to Linux/Apache), there is lots to learn, and the fun that I used to have when I was playing around with my old ZX81 has returned. Coding is great again.
  • When in doubt... by gronkulator (Score:1) Tuesday August 01 2000, @03:18AM
  • Re:CAFFEINE is EVIL by MrResistor (Score:1) Tuesday August 01 2000, @07:14AM
  • The problem is... by sgt101 (Score:1) Tuesday August 01 2000, @02:58AM
  • Re:From a totally different angle by malfunct (Score:1) Tuesday August 01 2000, @07:26AM
  • Re:The Author Speaks by smallstepforman (Score:1) Tuesday August 01 2000, @01:53PM
  • Re:Works for me too by smallstepforman (Score:1) Tuesday August 01 2000, @05:06PM
  • Coding block by smallstepforman (Score:1) Tuesday August 01 2000, @05:29PM
  • Re:Can you blame him? by GenCuster (Score:1) Tuesday August 01 2000, @01:10PM
  • I'm going through kinda the same by jaf (Score:1) Tuesday August 01 2000, @01:35AM
  • Re:Some things to try by jaf (Score:1) Tuesday August 01 2000, @01:41AM
  • Re:Some things to try by jaf (Score:1) Tuesday August 01 2000, @01:53AM
  • A great quote.. by Uberminky (Score:1) Tuesday August 01 2000, @06:20AM
  • one word. by The Madpostal Worker (Score:1) Tuesday August 01 2000, @01:48AM
  • burn out by kpeerless (Score:2) Tuesday August 01 2000, @04:33AM
  • Re:And now for something completely different. by Sherwood (Score:1) Tuesday August 01 2000, @08:47AM
  • Sport does help by boris_the_hacker (Score:1) Tuesday August 01 2000, @02:52AM
  • Tired? Play chess by roman_mir (Score:2) Tuesday August 01 2000, @03:27PM
  • Re:It's obvious by pallex (Score:1) Tuesday August 01 2000, @01:47AM
  • Re:Some thoughts for when the crisis hits by xee (Score:1) Tuesday August 01 2000, @05:07AM
  • Take Time Out & Forget About Coding by MrDalliard (Score:1) Tuesday August 01 2000, @05:20AM
  • Know how you feel... by marko123 (Score:1) Tuesday August 01 2000, @01:44AM
  • Re:Some thoughts for when the crisis hits by Shin Elendale (Score:1) Wednesday August 02 2000, @05:04PM
  • I have this problem... by Mustang Matt (Score:1) Tuesday August 01 2000, @08:25AM
  • Also... by Mustang Matt (Score:1) Tuesday August 01 2000, @08:26AM
  • CAFFEINE is EVIL (Score:5)

    by magnushuckvale (133606) on Tuesday August 01 2000, @02:45AM (#889943) Homepage
    One solution that seems to be coming up over and over again is caffeine - coffee, Coke, Mountain Dew, Jolt, Red Bull.

    Caffeine is EVIL

    No, really.

    It might seem like the problem is a particularly tricky algorithm to implement, or a bug that you can't track down, but this is never, ever, really the case.

    The problem is Stress, and if you (I'm more addressing this to the clueless replies than the original poster) don't admit that and deal with it, it will just get worse.

    A charge of Caffeine won't prep you to handle tougher problems, it will just make things feel even more hopeless and impossible. If there is any wonder-drink that will sort you out, it's a Smoothie, made from fresh fruit, that contains lots of de-stressing anti-oxidants and natural sugars.

    Another wierd viewpoint I've seen in this discussion is that when you get burn-out, you should take a couple of days off and then dive right back in. DUH! Why not adopt a lifestyle you can maintain indefinitely??

    Through my degree I tried all sorts of things that I thought would directly increase my productivity - Coke, ProPlus, Guarana - and they all just served to make me more stressed, depressed and non-productive.

    What really increases productivity is having a rest and doing something different. I always try to:

    Do something small at least every hour
    • Go to the toilet
    • Go fetch a smoothie
    • Go and have a chat to someone
    • Pray (I ain't religious, but I see that this would help) or meditate
    Do something longer two or three times a day
    • Lunch OUT of the office
    • A walk in the sunshine
    • Watch a movie
    • Have sex (on your own is just fine)
    • Play an instrument
    • Have Exercise (trust me, there IS a worthwhile sport for you, even if it's just a walk in the park)
    Take the weekend off
    • Veg
    • Tidy the house
    • Dig the garden
    • Go visiting people
    Duh, people tell geeks to get a life. Sometimes we don't even look after the one we've got.
  • Deadlines by Dungeon Dweller (Score:1) Tuesday August 01 2000, @01:57AM
  • Involve other people ! by kazzuya (Score:1) Tuesday August 01 2000, @07:38AM
  • Get a checkup. ASAP. by buckrogers (Score:1) Tuesday August 01 2000, @07:44AM
  • Put your mind to it by sstrick (Score:2) Tuesday August 01 2000, @01:39AM
  • Focus on design by Andreas Rueckert (Score:1) Tuesday August 01 2000, @03:42AM
  • Re:hell yeah! by jhix (Score:1) Tuesday August 01 2000, @06:44AM
  • This has been my problem for a LONG time. by Rimbo (Score:1) Tuesday August 01 2000, @01:32PM
  • Re: Caffeine is okay -- for you. by Rimbo (Score:1) Tuesday August 01 2000, @01:44PM
  • Re:The Author Speaks by Remote (Score:1) Tuesday August 01 2000, @01:49AM
  • Re:Some things to try by Remote (Score:1) Tuesday August 01 2000, @01:56AM
  • by NaughtyEddie (140998) on Tuesday August 01 2000, @08:05AM (#889954)
    (yes, even pray if your imagination is so limited)

    It takes far more imagination to pray than it does to regurgitate these vanilla pseudo-scientific opinions on religion.

    And, scientifically speaking, your belief in the "subconscious mind" solving your problems is just as superstitious as anyone's belief in a deity.

  • Aphex Twin by SwiftBob (Score:1) Tuesday August 01 2000, @04:34AM
  • Re:Swear by Frank T. Lofaro Jr. (Score:1) Tuesday August 01 2000, @01:53PM
  • Re:Works for me too by Frank T. Lofaro Jr. (Score:1) Tuesday August 01 2000, @01:55PM
  • Zen and the Art of Motorcycle Maintenance by sdery (Score:1) Tuesday August 01 2000, @03:32AM
  • Re:The Author Speaks by jon_adair (Score:1) Tuesday August 01 2000, @05:11AM
  • Programmer Block (Score:4)

    by madstork2000 (143169) on Tuesday August 01 2000, @01:43AM (#889960) Homepage
    My problem usually stems not from hard architecture problems, but instead from bad specs. I design web applications using PHP. I will often go on binges where I work 15-20 hours straight take a nap and go back at it. Those are the time when I am told to go and "just do it". But if I am given a handful of poor specs, and then somebody is looking over my shoulder asking me to redo every other feature or function I have a tough time gaining momentum to get any productive programming done.

    For me its all about momentum. The more I code the more I want to code. If I have to keep shifting gears, by attending meetings, writing reports, etc I can't shift my brain into gear. Then I am left in limbo, usually checking my email every couple of minutes and making sure slashdot hasn't posted a new story.

    Fortunately for me I work at home, so I can avoid most distractions, but it usually takes me at least a day to recover from a day in the real office.

    just my $.02

    -MS2K
  • If possible, buy a Mountain Bike by poetic justice (Score:1) Tuesday August 01 2000, @03:31AM
  • Re:CAFFEINE is EVIL by startled (Score:1) Tuesday August 01 2000, @06:42AM
  • Reformat with a new OS by Nishi-no-wan (Score:1) Wednesday August 02 2000, @03:40AM
  • Honey by rellort (Score:1) Tuesday August 01 2000, @05:18AM
  • organisation and relaxation by xaniamud (Score:1) Tuesday August 01 2000, @04:59AM
  • Re:The Author Speaks by torokun (Score:1) Tuesday August 01 2000, @11:00AM
  • Re:Not the Author Speaking by torokun (Score:1) Tuesday August 01 2000, @11:12AM
  • Solution to "code lock" by mcrbids (Score:1) Tuesday August 01 2000, @07:59AM
  • easy, eat and nap! by Gothmolly (Score:1) Wednesday August 02 2000, @02:02AM
  • Re:I get this all the time. (slightly OT) by matlhDam (Score:1) Tuesday August 01 2000, @02:00AM
  • Re:coder's block (Score:4)

    by matlhDam (149229) on Tuesday August 01 2000, @01:57AM (#889971) Homepage
    Finding myself unable to code, I started writing the code in english on paper. I would sit down in a corner of the room and start writing in english. "check the user permissions. if the guy is an admin, show this and that screen. for each line in the screen, make sure it's bla bla." and so on. Once I was done and saw that I had something that could work, I took the text, pasted it into the existing source code and started translating it to code (Java in this case).

    Umm, I think that's called pseudocode, dude. You're supposed to write that before you start coding. At least, that's why I keep being told ;)

  • Re:I work best with the net shut off - in a car! by grahamsz (Score:2) Wednesday August 02 2000, @02:09AM
  • Get Offline :) (Score:3)

    by grahamsz (150076) on Tuesday August 01 2000, @01:47AM (#889973) Homepage Journal
    Much as I love it, the internet is the ultimate counter-productivity tool. In my preonline days when I was in the lower years of high school I used to do a lot of coding. When i wasn't out drinking i'd code shit all day (and the odd good thing)

    Now i do soo little :)
  • Don't Panic! by DevTopics (Score:1) Tuesday August 01 2000, @03:00AM
  • overcoming programmer's block by cbogart (Score:1) Tuesday August 01 2000, @07:44PM
  • Re:CAFFEINE is EVIL by ASMprogrammer (Score:1) Tuesday August 01 2000, @06:48AM
  • Re:It's obvious by AntiNorm (Score:1) Tuesday August 01 2000, @05:48AM
  • Software Architecture and Creativity by mmaddox (Score:1) Tuesday August 01 2000, @02:27AM
  • Money by unixdown (Score:1) Tuesday August 01 2000, @06:12AM
  • Depends on the Problem... by RichardtheSmith (Score:1) Tuesday August 01 2000, @03:07AM
  • Working out is the key by cmcarson (Score:1) Tuesday August 01 2000, @05:53AM
  • Talk to Marketing by M$ Mole (Score:1) Tuesday August 01 2000, @06:28AM
  • Re:Owning work related code by |_uke (Score:1) Tuesday August 01 2000, @05:56AM
  • Another focus by HiQ (Score:1) Tuesday August 01 2000, @01:31AM
  • Source Control is not Evil by mk2337 (Score:1) Tuesday August 01 2000, @10:01AM
  • Brain pain by PinkFloyd (Score:1) Tuesday August 01 2000, @03:22AM
  • Is it you? by Stultsinator (Score:1) Tuesday August 01 2000, @07:03AM
  • Re:GET OFF IRC!!! by GuardianLion (Score:1) Tuesday August 01 2000, @09:00AM