How to manage a struct with many lines of code?

I've found an older thread discussing the same topic.