3 ms·
> Has there ever been a case where you've tried to roll your own and it ended in disaster? As far as I remember, it's always the other way around. But I have
by tytytytytytytyt 9y ago
> Has there ever been a case where you've tried to roll your own and it ended in disaster?
As far as I remember, it's always the other way around. But I have enough sense to not implement my own cryptography library and use it in production.
> Or where you'd wished you'd never added a dependency on some library?
That happens a lot, or more frequently it's some library already being used that is overcomplicated and won't work with something else I need it to work, like a build tool, or is in a cross platform language like node but doesn't work on one particular, major OS. But when this happens it's maybe never the case that it would have been reasonable to write it myself. I just have to find a less shitty alternative library.
In general, it's blatantly obvious when you need to do which, you have more much bigger other problems, the chance of this issue even popping up is pretty low, and the resolution is probably fairly straightforward.