plurr icon indicating copy to clipboard operation
plurr copied to clipboard

Avoid mutating `params` in `format()` call

Open julen opened this issue 9 years ago • 0 comments

The format() call mutates the object passed as params, which is unexpected for the caller.

IMHO, when not an exception, format() should just return a formatted string value for the passed parameters, and have no side-effects such as mutating the passed arguments.

julen avatar Feb 15 '16 10:02 julen