6 ms·
Good point. In such case I would probably consider leaving the signature as is, even after tightening, and possibly offer a function with stricter signature for
by akritid 2y ago
Good point. In such case I would probably consider leaving the signature as is, even after tightening, and possibly offer a function with stricter signature for new code to use while deprecating the older variant. This would inform the users without rug pulling.
- cubefox 2y agoBut that's not necessary in a language with union types of this sort. No rugs being pulled.