2 ms·
The argument for changing it was that the redis gem was meant to mirror functionality of the redis api method with the same name. What really blows my mind tho
by Gigachad 2y ago
The argument for changing it was that the redis gem was meant to mirror functionality of the redis api method with the same name.
What really blows my mind though is that they did it as a minor patch release. Combined with Ruby having no type checking and allowing nonsensical stuff like if statements that always return true.
- fabianholzer 2y agoWell, that is still no reason to introduce a breaking change in the existing interface. You introduce a new one, using a different signature and mark the old one as deprecated, and keep it around until as long as reasonably possible.