by strongly-typed · 2y ago · 0 comments
[0]: https://github.com/semilin/genkey/commit/fafed6744555c5a81fd...
EDIT: The fact that this was a bug at all makes me fear for the rest of the code base. If this one slipped through the cracks, how can I know that the rest of the code base is correct?
The fact that the commit was accepted into a release without any changes to accompanying tests is what is most concerning. You should be afraid.
Generally getting zero value from a map is a feature, but the code that the diff replaces did look overly complex and fragile to me already tbh