News for hackers. Stuff that matters.
Re:Magnus Carlsen Repeats at World Chess Championship by ap22213 on Monday November 24, 2014 @08:28AM (#8652243)
I decided to do a total re-write of one of my applications over the weekend. 30k lines later, I'm wondering if this at all feels similar.

When I'm alert, jacked up on caffeine, I can keep track of 100s of classes, 1000s of methods and member variables. When, I'm in the flow, I basically write the program in my head and let the fingers be my mouth.

Re:Magnus Carlsen Repeats at World Chess Championship by cdelsolar on Monday November 24, 2014 @01:03PM (#8653635)
You rewrote an entire 30K line app in a weekend?? I have a side project that I really need to rewrite and I keep predicting it will take me weeks. Maybe I should actually give it a try.
Re:Magnus Carlsen Repeats at World Chess Championship by ap22213 on Monday November 24, 2014 @01:27PM (#8653776)
Don't get me wrong, some of it was refactoring. So, there was quite a lot of copy-paste / text replacements. A lot of moving things here and there. Splitting classes. Encapsulating stuff. Creating new libraries. Etc.

There's a fair amount of new code... I'd say 10000 - 15000 lines, some of which I generated.

Re:Magnus Carlsen Repeats at World Chess Championship by cdelsolar on Monday November 24, 2014 @03:21PM (#8654521)
Yeah - I actually need to add a lot of new functionality and change the language, so it might take me a while longer. Still pretty cool. Refactoring can be fun.