3 ms·
For most code, separation of concerns should mean 300 lines of code is spread across multiple files. But Ruby programming can still be fairly rote sometimes. Sa
by macscam 10y ago
For most code, separation of concerns should mean 300 lines of code is spread across multiple files. But Ruby programming can still be fairly rote sometimes. Say there's some grammar parser which has 50 case statements. It might be easier on the eyes, but I don't think separating such code into multiple files is necessarily an "object oriented principle".