Hello Rails team,
I’m not sure whether to post this question here or in the Rails core
Please redirect me to the right forum if applicable.
Our team lead and I recently discussed the pros and cons of breaking up
long source file into multiple source files. I tend to prefer one class
file, because I find the individual files easier to read and easier to
(with ctrl-p in Sublime). On the other hand, our team lead doesn’t have
issues with long source files. He argues that they are quite common in
open-source projects. As an example, he pointed to the
class in Rails as a case of a long file with multiple inline classes.
I’m curious to learn the intent behind keeping all the contents of
class within a single file. What were the advantages of taking this