Is it normal to modularize/namespace deeply in Rails? My company's code base goes 4 to 5 namespaces deep and I'm wondering if that's normal
<p>I'm a junior Rails developer. I'm finding namespaces 4 and 5 modules/classes deep in my company's code base. It feels like a significant code smell and feels like it makes the code a headache to understand, but I'm new at Ruby/Rails. Here's an example copied, with names changed:</p>

<pre><code>class X
  module Y
    module Z
      module A
        class MainClass &lt; X::Y::B::C
          MESSAGE = 'Error Message here'
          def initialize
            super(X::Y::Z::A::MainClass::MESSAGE)
          end
        end
      end
    end
  end
end
</code></pre>

<p>This kind of stuff is all over our code base. Notice: The actual class itself is 4 lines long.
What's stopping someone from namespacing every ASCII character and building off a fully decomposed ASCII character set?
I was wondering if this kind of heavy decomposition/deep namespacing is normal from a more experienced Rails dev's perspective.</p>