If I have a whole bunch of requires in my main app file:
require 'a'
require 'b'
require 'c'
require 'd'
require 'e'
require 'f'
require 'g'
require 'h'
require 'i'
require 'j'
would it be bad practice to put strip all of these requires out and put them in a separate file that just does all of the requires - let's call it 'all_requires.rb
' - so then I can just say:
require 'all_requires'
I've never seen this approach in other people's code so perhaps there's a reason?