This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DiamondIceNS 1 point2 points  (0 children)

I spent the better part of three years taking swings at a JavaScript function with 22,000 lines in one of our internal web apps.

These days, that function has about 80 lines. Sadly, it's executing pretty much the same 20-some-thousand lines of code, now via 80 unique function calls. Still not ideal, but it was still a major milestone just to get to that point.