3 ms·
I don't think that's on Rails, more that people with less experience tend to use more indirection in their solutions because each step of the problem is seen as
by ljm 3y ago
I don't think that's on Rails, more that people with less experience tend to use more indirection in their solutions because each step of the problem is seen as independent and breaking everything down into its own class or method enhances 'readability'.
- Step one: put file in queue
- Step two: break down file and insert rows
- Step three: convert to json
- Step four: compute results
- etc...
Once your experience improves you start to understand the cost of such indirection and realise that the problem could have been solved in a much more straightforward manner.