5 ms·
The ...thing still feels like magic to me. The rest are pretty common, I would not consider reduce() or passing an object to a function instead of separate arg
by ix-hispana 9y ago
The ...thing still feels like magic to me.
The rest are pretty common, I would not consider reduce() or passing an object to a function instead of separate arguments hipster hacks at all. "Options" objects are ubiquitous in corporate SDKs like AWS and Azure. They are the opposite of hipster.
- tal_berzniz 9y agoOptions indeed was always a common use case but made the function declaration less verbose. Now we can have the best of both worlds