Yes you can refactor parts of code. Yes, but it takes time and in large projects where everyone depends on that interface it is going to take a lot of work. Also for the love of god, 30KLOC IS NOT A LARGE PROJECT.
Name:
Anonymous2005-11-11 17:13
My own measures for size:
Tiny / Toy: <1k LoC
Small: 1k -> 10k LoC
Medium: 10k -> 100k LoC
Large: 100k -> 1M LoC
Huge: > 1M LoC
Name:
Anonymous2005-11-11 22:22 (sage)
I see "refactor" used all over this forum.
oh wait...
Name:
Anonymous2005-11-12 5:17
depends on lang
lower level = more cruft and overhead = simpler program with more code
Good points. IMO, it needs to get done at some point, but it can be an ugly and nasty prospect, and there are times it's not the best idea. However, why not take full advantage of versioning systems and branch development, isn't that half the point? Or am I missing something from when I've had the idea of refactoring preached at me?
Name:
Anonymous2005-11-15 16:31
I think refactoring works best on a large project where people are coming in and out a lot(sup open-source). When you refactor it's like rewriting, but usually a lot simpler. And when you rewrite, you get a better internal concept of how the code works. So rewriting and refactoring are good(mentally) for the developers, even if the code itself doesn't improve substantially from it.
Name:
Anonymous2005-11-18 12:07
>>10
Great idea, except when people rewrite things, they tend not to pay attention to the fixes and end up breaking things and reexposing old flaws.
"what's this 40 line thing? we obviously won't be needing that!"
*next day*
"hey, where did all the data go?"
"OH SHI-"
Name:
Anonymous2009-09-17 17:35
>>9
How about hacking my ENTERPRISE QUALITY anus, you bitch?
>>1,11
I can agree completely. This one guy I used to work with seemed to interpret the term as "rewrite to be as hideously complex as possible while introducing a fuckton of new bugs". He was also one of those faggots who loved making tons of useless extra classes.
Name:
Anonymous2009-09-18 4:10
Automated tools ftw - if you're actually writing new code and calling it refactoring then you're doing it wrong.
Fuck off faggot if anything /g/, is /prog/'s sister board.
Name:
Anonymous2009-09-18 4:16
>>23
back to /g/ with you, you underage acne covered 1337 overclocker d00d.
you are obviously quite new here and don't understand /prog/ in the slightest.
What because I dont put prog in spoilers? Or I dont spout shitty forced memes like "hax my anus?" No, I am one of the last ones doing any actual coding here. I'm 23 so why don't you go back to /g/ to discover desktop threads.
Name:
Anonymous2009-09-18 4:28
>>25
no, because you have no understanding of /prog/'s culture and history, that's why.
now quit bitching, you obnoxious baby.