5 comments

[ 37.5 ms ] story [ 73.8 ms ] thread
I have nothing against this post, but just wanted to remind people https://momentjs.com/docs/#/-project-status/

> We now generally consider Moment to be a legacy project in maintenance mode. It is not dead, but it is indeed done.

My guess is _most_ projects currently using Moment can continue to do so for a long time. But new projects should definitely choose something else.

It's a really good clarification. Deprecated is probably too strong a word.
Oh, I didn't even notice that you, the OP, are also the author of the post :D
My understanding is that MomentJs is “done”, which means it’s stable and feature complete. New projects which require moment’s functionality should absolutely use it!
Object-oriented programming isn’t dead but it’s still evolving. One facet that is trending is immutability. Objects can only be constructed with their full state provided. It’s the best of both worlds. However, moment is from an earlier zeitgeist - it has mutable objects. Use an immutable object library.