3 ms·
> I've never been bitten by an interface that is too simple. I've been bitten by strcpy. And errno. And malloc/free. And many others. In general, simple inter
by jampekka 2y ago
> I've never been bitten by an interface that is too simple.
I've been bitten by strcpy. And errno. And malloc/free. And many others.
In general, simple interfaces are good interfaces, but it takes quite a bit of experience to learn what is a good simple interface.
For example not having to resort to global variables or a lot of state or a tightly coupled mess is not self evidient, but something that comes with practice, and usually the hard way. It doesn't help that many "best practices" aren't very good practices.