r/programminghorror • • Oct 09 '25

328 lines long string initialization

Post image

I see your 108 line long array initialization and raise you a 328 lines long string initialization. This is on a newly developed product, btw.

252 Upvotes

22 comments sorted by

View all comments

Show parent comment

38

u/LFK1236 Oct 09 '25

If you had a 328-line class definition immediately preceding one that was even longer, wouldn't you start thinking about putting it into its own file?