|
|
|
|
|
by bicknergseng
5169 days ago
|
|
I also question the utility and reason behind this. I spend a lot of time fixing memory leaks from lousy developers who use closures and anonymous functions incorrectly in JavaScript. I'm just learning Ruby as well, and see a lot of room for similar black-boxing pitfalls in procs and blocks. It seems to me like you're reducing code size at the expense of readability and debugability. That might be the ruby way, but it seems to me like a bad way to program. Like I said, I'm just learning... so I'd love counterexamples and reasons why I'm wrong. |
|