>finishing this for loop
>going to the gym
goddammit why do programming projects always turn me into such a pussy weakling?
I hate leaving my desk when I'm deep in code because it always takes me like 30 minutes to get reacquainted with what I've already written
Anyone have any solutions?
Finish what you're doing in one sitting
>>52438831
Don't leave your desk
Don't waste time by posting on 4chan
>>52438831
stop getting up from your desk
>it always takes me like 30 minutes to get reacquainted with what I've already written
Stop writing shitty code
>>52438831
Maybe start commenting your code. It's not just for other people who might read it
Buy this http://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882
Write better code
>how do I manage time
>>52438831
>finishing this for loop
>using a for loop and not a range-based for loop
dohohohohoo you are confirmed for idiot
>>52438831
do longer coding sessions to negate it
take some notes on what to do next when you stop
continuously refactor your code to make it as simple as possible
>>52440157
>using any kind of "loop" and not a tail recursive function
dohohohohoho you are confirmed for idiot
>>52440457
>using lisp
dohohohoho you are confirmed for idiot
>>52438831
post some of your code, we could probably tell you why it takes you half an hour to get reacquainted
>>52439676
This
Too many retards don't document their code
>>52440457
>implying iterative solutions are necessarily bad
Recursion is fun, but for some operations brute force can be breddy okay.