I'm maintaining a java class that's 40K lines long.. problem?

Posted by Billworth Vandory on Stack Overflow See other posts from Stack Overflow or by Billworth Vandory
Published on 2010-12-26T20:41:38Z Indexed on 2010/12/26 20:54 UTC
Read the original article Hit count: 143

Filed under:

This may be a subjective question leading to deletion but I would really like some feedback.

Recently, I moved to another very large enterprise project where I work as a C++ developer. I was aghast to find most classes in the project are anywhere from 8K to 50K lines long with methods that are 1K to 8K lines long. It's mostly business logic dealing with DB tables and data management, full of conditional statements to handle the use cases.

Are classes this large common in large enterprise systems? I realize without looking at the code it's hard to make a determination, but have you ever worked on a system with classes this large?

© Stack Overflow or respective owner

Related posts about java