[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
>finishing this for loop >going to the gym goddammit why
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 16
Thread images: 1
>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.
Thread replies: 16
Thread images: 1

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.