Code is art.
It's what i like to tell myself when i'm trying to figure out some insane bit of crap like why Java has five different ways to do a regular expression match against a string, and only one of which is actually useful.
(for those playing at home, you want Pattern.compile(regexp).matcher(string).find(), DON'T USE matches() since that's the equivalent of doing $string =~ /^regexp$/ and will cause you to say many naughty things about the core Java programmers.)
Still, like any other creative process, you have bursts of inspiration and.. well.. what i seem to be going through right now. Coder's Block.
Mind you, i'm nicely productive at work, pounding out patches and methods with swear filled aplomb. Where things break down is when i get home. i'll sit at the desk staring at the laundry list of things i really ought to be working on, and then distract myself by reading my MBL stream and watching whatever youtube videos Andy found.
There are supposed to be exercises that artists can do to get past the block. i believe they involve doing little tasks or possibly sitting in a starbucks with a mac sipping overpriced coffee and talking about how emo they are, but this usually just winds up getting ugly and i'd hate to have to explain to the nice officer why i was assaulting myself.
Plus i hate coffee.
i'm just going to have to get coding, aren't i?
Fine, let me finish watching this volume of Haruhi Suzumiya first.
When I get that way I usually change the music I'm listening to, it's like a new perspective. If that doesn't work I remember the immortal words of one Mr. Eminem whilst he was going through some writer's block:
Some days I just wanna up and call it quits
I feel like I'm surrounded by a wall of bricks
Every time I go to get up I just fall in pits
My life's like one great big ball of s***
If I could just, put it all into all I spit
Instead of always tryin' to swallow it
Instead of starin' at this wall and s***
While I sit writer's block, sick of all this s***
Can't call it s***
Do some gardening or other, non-computer based repetitve physical task :)
Save This Page

I think for the coffeeshop to work correctly, you need to wear a beret.
I think you'd look cute in a beret.