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

后端 未结 12 1457
北海茫月
北海茫月 2021-02-04 01:02

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

12条回答
  •  误落风尘
    2021-02-04 01:31

    In addition to software maintenance issues described in other answers, be careful of the technical limit that a compiled Java method may not exceed 64k bytes. (How many lines of code that will correspond to will depend on the lines themselves.)

    http://www.databasesandlife.com/java-method-64k-limit/

提交回复
热议问题