News for hackers. Stuff that matters.
Re:Day.js Fast 2kB alternative to Moment.js with the same mo... by 0xCAP on Sunday October 09, 2022 @03:59AM (#33138987)
This is only you having super basic date needs, not Day.js being overkill in general.
Re:Day.js Fast 2kB alternative to Moment.js with the same mo... by TekMol on Sunday October 09, 2022 @04:42AM (#33139157)
Any system, no matter how complex, can be composed of smaller units that only have super basic needs.
Re:Day.js Fast 2kB alternative to Moment.js with the same mo... by 411111111111111 on Sunday October 09, 2022 @06:24AM (#33139666)
*if all complexity has been hidden from the developer which only needs to use a decent puplic API.

I'd agree that it feels like that quiet often as a web developer, but that's only because most of our APIs are actually quiet easy to use.

The illusion usually falls away if you look at the code of that API, however.