4 ms·
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, jack
by ap22213 12y ago
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.
- cdelsolar 12y agoYou 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.
- ap22213 12y agoDon'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.
- cdelsolar 12y agoYeah - 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.