DEV Community

Discussion on: Lodash and Underscore, is there still a case?

Collapse
 
gsto profile image
Glenn Stovall

I still find the odd use case. It's handy now that you can import individual functions so you aren't adding bloat to your bunder. Here's what a quick grep tells me is in my current project:

  • throttle
  • inrange
  • flatten
  • isempty
  • omit

As far as functional and class patterns go, here's my take: JavaScript is not a functional language. JavaScript is not an object-oriented language. JavaScript is its own weird thing. Trying to make JavaScript do a Haskell or C# impersonation is only going to leave you with code that more complex and harder to maintain than it needs to me.