3 ms·
>it doesn't really matter This way can be argued for almost every language, as they almost all allow some form of passing a piece of code to a function. The di
by jablan 6y ago
>it doesn't really matter
This way can be argued for almost every language, as they almost all allow some form of passing a piece of code to a function. The difference is what matters - whether that's elegant enough to be widely used or not. Ruby is, frankly, somewhere in between.