Hacker News new | ask | show | jobs
by dustingetz 396 days ago
well, yes, because the imaginary world has no real world constraints
1 comments

But it's not necessarily constraints that drive most library API design. I'd say most of it is arbitrary. Kinda of like which classes you decided to make in an OOP system. We tend to pick something that works and roll with it. Maybe only refactoring it if it's too hard to test.