Coming soon - Get a detailed view of why an account is flagged as spam!
view details

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.

7
JavaScript opinion: Is OOP & classes ideal for larger projects?
Post Flair (click to view more posts with a particular flair)
Post Body

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.

Author
Account Strength
90%
Account Age
4 years
Verified Email
Yes
Verified Flair
No
Total Karma
906
Link Karma
192
Comment Karma
714
Profile updated: 4 days ago
Posts updated: 9 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago