|
|
|
|
|
by ThinkBeat
2540 days ago
|
|
All code being in one 750 line file is a bad thing.
It would never pass a code review where I work. I would not really care if it worked or not and have
the team or developer come back with a broken down
version. (which if the code is structured well inside
a single file should be very fast to accomplish) |
|
Splitting code across multiple files when there's no actual reusability or abstraction driving the split makes it harder to follow the flow of logic. In particular, 750 lines is not so much that there's obviously a missing abstraction lurking there.