queirozfcom / rachinations

Other
2 stars 0 forks source link

turn block parameters into regular arguments #46

Closed queirozfcom closed 9 years ago

queirozfcom commented 9 years ago

I.e. declare them in the function's parameter list like every other variable and stop using ruby's &-notation and methods like block_given? and so on because they limit the number of blocks passed to only 1.

We should start using blocks and proc as regular variables.

queirozfcom commented 9 years ago

I think that using blocks implicitly only limits me and adds no real value whatsoever. The only place where implicit blocks make sense is in the DSl - but only to make it easier for users.

queirozfcom commented 9 years ago

This will be done on demand.