3 ms·
> and Ruby is (at least to me) a far more readable It’s funny folks pick on the “Magic” in PHP, yet overlook all of it in Ruby. I’m not a PHP guy anymore reall
by jsjohnst 7y ago
> and Ruby is (at least to me) a far more readable
It’s funny folks pick on the “Magic” in PHP, yet overlook all of it in Ruby. I’m not a PHP guy anymore really (now Python/Rust/Java/Ruby mainly), but I’m still continually annoyed reading Ruby code. Here’s an example:
- find a method being called on a class, so want to find out details on said method
- grep through codebase, find no definition for said method
- grep through all gem dependencies, find no definition for said method
- search web, don’t find any obvious leads
- cry in despair
- finally find that method is handled by a method_missing on a dynamically generated class and never has anything related to the method name even as a string
- flip desk and go home for the day
- joelbluminator 7y agoMeta programming became far less common in Ruby, I barely see it in Rails apps anymore.