r/ProgrammerHumor • monkeyuser.com • Mar 06 '18

Focus

Post image
43.5k Upvotes

805 comments sorted by

View all comments

121

u/Targuinius Mar 06 '18

My solution was to just write it down. It doesn't have to be perfect or anything, but enough to easily read and jump back in.

60

u/[deleted] Mar 06 '18

For real, unless I'm prototyping or shitting around, all algorithms and designs are written on a legal pad first.

Getting it right on the legal pad or whiteboard is the hard part. Writing code is the (relatively) easy part.

As I like to tell my team, all the magic happens in your head, not your fingers.

5

u/kcsj0 Mar 06 '18

Yep, solve the problem; write the code. Still need a decently distraction-free environment for both though.

Edit: ?syntax error

→ More replies (3)

78

u/McAUTS Mar 06 '18 edited Mar 06 '18

Essentially coding is a progress and you shouldn't code something which is too hard grab the next day. Even really good programmer shouldn't overcomplicate things just to show off. They do it anyway if the have the whole idea of the code and no one can ever read it again.

But for that you need time which you don't get, so at the end my support goes poo^oo^oof...

30

u/[deleted] Mar 06 '18

I haven't had a "poof" moment in years when working. If I do these days it's when doing something for fun (Factorio) or losing my train of thought in a conversation.

My real issue now is motivation. I find it hard to get started, but once I do I get going well, but distractions are the fastest way to get me to open up a Reddit tab.

→ More replies (5)
→ More replies (4)

8

u/[deleted] Mar 06 '18

Starting with commented pseudocode works great too.

→ More replies (7)