This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
So, I spend a lot of time in Node.js. I gave it some thought, and due to the nature of Node, obviously OOP is simply better for it, for your own apps. But what about smaller apps? Obviously, packages are going to most likely make you utilize exported classes, and for larger apps made in Node.js, class use would surely be ideal--but what about for smaller apps, would there be any advantage to writing classes for utilizing your imported packages? Say, Discord.js. Would there be a benefit to writing a class for handling messages, reactions, etc?
I hope I'm actually asking this question in a way that doesn't make me sound stupid. The question to me seems perfectly reasonable, I just don't know if I am portraying it clearly enough.
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/CodingHelp/...