3 ms·
Shit, he should have considered the human cost of method_missing. Yes, I am serious, it’s a massive productivity drain. You encounter methods that you can’t go
by monadic2 7y ago
Shit, he should have considered the human cost of method_missing.
Yes, I am serious, it’s a massive productivity drain. You encounter methods that you can’t google for, so your grep game better be good to get work done (grep for a portion of the name, and then method_missing itself if that fails). An IDE is useless in this case and your performance goes out the window. It’s much better to dynamically generate a finite number of methods you can see when inspecting objects.... I suspect those would jit better, too.
Oh, you want to access the call stack on your server to figure out where that frame is? Jokes on you, ruby has no remote debugging mechanism aside from a core dump or building your own heap inspection access.
Dang, why was this flagged?