Hacker News new | ask | show | jobs
by overgard 1397 days ago
Honestly, that's just silly. There's absolutely no reason to accept that many different call styles. Why not just take in an array? As a user I don't find things like this convenient, I find them to be confusing footguns. It's a one liner to split your comma separated string into an array as an end-user, but once you add that complexity to the interface in the library you can never ever take it out.
1 comments

I thought in the js world it was normal to break compatibility whenever.