3 ms·
>As we all know Rails is open source and the code is perfectly readable for anyone that knows Ruby. I beg to differ on the readability of the Rails source code
by kyllo 14y ago
>As we all know Rails is open source and the code is perfectly readable for anyone that knows Ruby.
I beg to differ on the readability of the Rails source code. Even for someone with a strong command of Ruby, there are a lot of layers of abstraction, functions that call other functions that call other functions, and subclasses of subclasses of subclasses, spread across many different files in different places in the folder/project structure. It's quite difficult to figure out what is actually going on when you look under the hood of Rails, because it's complicated to the point where it's "indistinguishable from magic" until you have spend a lot of time with it.
- alinajaf 14y agoCan you point me to a concrete example of this? Rails as a codebase is decoupled reasonably well. As long as I take it in chunks, I can understand control flow through it reasonably well, and I probably have less ruby experience than you do.