2 ms·
The ability to open and modify any class at any time really prevents filenames from being the namespace. It is both a powerful feature and a hindrance to code d
by cortesoft 3y ago
The ability to open and modify any class at any time really prevents filenames from being the namespace. It is both a powerful feature and a hindrance to code discoverability.
Discoverability in Ruby is usually done via IRB, and you can call "source_location" on a method to find where in code it the method is defined (or redefined, as can happen in Ruby)