At what point would you separate / move routes in another package? #30
-
For simple projects having everything in the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Good question. I don't find that I hit this limit in practice very often. I personally don't mind large files (1000-2000 SLOC) and I don't mind having a lot of files in a single package (~50) so I'd need to have 50KLOC in an Another limiting factor is that there is a trend to break applications down to smaller separate applications as they grow large so I don't find that I have a single application that grows large enough to worry about it typically. If you do have a mammoth application and need to split it out then I would probably just make subpackages under |
Beta Was this translation helpful? Give feedback.
Good question. I don't find that I hit this limit in practice very often. I personally don't mind large files (1000-2000 SLOC) and I don't mind having a lot of files in a single package (~50) so I'd need to have 50KLOC in an
http
package before I'd consider splitting it out. I personally find it's more painful to split out into multiple packages than just having a single large package.Another limiting factor is that there is a trend to break applications down to smaller separate applications as they grow large so I don't find that I have a single application that grows large enough to worry about it typically.
If you do have a mammoth application and need to split it out then I would pro…