Ruby constant lookup: compact style vs. explicit nesting

Recently, a colleague of mine decided that it was time to refactor some parts of our (Rails-) codebase. In particular, he used the autocorrect feature of rubocop to switch from qualified constant definitions (aka. compact style) to explicit nesting:.
Ruby constant lookup: compact style vs. explicit nesting #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/ruby-constant-lookup-compact-style-vs-explicit-nesting

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles