This might be a duplicate, but as I haven't seen anything hopefully it isn't. Basically, I've never seen a good rule-of-thumb for when to split a chunk of code into separate methods and objects. Does anyone have any good rules they found work well?
If a method doesn't fit on a page, it's too big. :-)
That's not an excuse to use a really small font or use a really big monitor
Go and read;
Although they talk about how to deal with what you already have, if you read them and learn from them you can aim not to create lagacy code to start with!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With