1
eldy
43d

My colleague argue why would I use a library like date-fns.

Clearly in my code I use few methods like format, isAfter, and few more but he prefer to do things manually. I don't know what's in his head, I hate reinventing the wheel, I'm pissed when someone comment the use of such a widely used library.

Comments
  • 0
    There are tons of posts on TDWTF about bad handling of date/time by hand-rolled code.
  • 0
    JS devs already need a library for trivial shit like leftpad. Dates? Totally rocket science.
  • 0
    It has no dependencies, only dev dependencies.

    I'm surprised.
Add Comment