3 ms·
I don't think we'll have an agreement so I'll stop there :) Every time I see something like SomeClass.new(val).some_method it makes me cringe. For me it's as i
by zimbatm 14y ago
I don't think we'll have an agreement so I'll stop there :)
Every time I see something like SomeClass.new(val).some_method it makes me cringe. For me it's as if you would refactor Math.sqrt(2) to SquareRoot.new(2).value in case you want to change the implementation in the future.