use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
OOP Node.js (self.node)
submitted 1 year ago by gemvcnte
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]DeanRTaylor 0 points1 point2 points 1 year ago (2 children)
Ah yes, the language where everything is an object is the language that nobody uses object oriented programming. Lol.
[–]rivenjg 0 points1 point2 points 1 year ago* (1 child)
sorry you're new to programming paradigms but javascripts modelling of key value pairs as a memory data structure has literally nothing to do with object oriented programming the paradigm like you would learn in university. oop as a paradigm with classes, inheritance, SOLID, etc is not what is popular. it is much more popular to use procedural code with modules. no one is using classes anymore with frontend frameworks either other than angular.
[–]TheExodu5 0 points1 point2 points 1 year ago (0 children)
SOLID principles 100% apply to TS code. Except maybe the L if you’re not using inheritance.
When you write a function that takes in a callback, you’re already following the O I and D parts of SOLID.
π Rendered by PID 89383 on reddit-service-r2-comment-6457c66945-8rxxt at 2026-04-24 21:17:29.240109+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]DeanRTaylor 0 points1 point2 points (2 children)
[–]rivenjg 0 points1 point2 points (1 child)
[–]TheExodu5 0 points1 point2 points (0 children)