Open zverok opened 6 years ago
Currently, in community this kind of monkey-patching is considered a bad practice. And, in fact, [1,2,3].to_dv is not THAT shorter than Vector.new([1,2,3]), while the latter is definitely clearer.
[1,2,3].to_dv
Vector.new([1,2,3])
@zverok : I would like to do this.
Currently, in community this kind of monkey-patching is considered a bad practice. And, in fact,
[1,2,3].to_dv
is not THAT shorter thanVector.new([1,2,3])
, while the latter is definitely clearer.