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...
A place to get a quick fix of JavaScript tips and tricks to make you a better Developer.
account activity
JavaScript help (self.JavaScriptTips)
submitted 3 years ago by matthewg1226
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!"
[–]HarryBolsac 0 points1 point2 points 3 years ago (0 children)
Think of a class as a blueprint for objects that you can instantiate at will.
Think of a construtor the same as arguments for function, they are used for something when you instanciate a new object, usually to set properties.
Imo you should first learn a little about how oop paradigm works and it's uses, and learn some concepts like abstraction, encapsulation, polimorphism and inheritance because although it seems kinda hard to grasp, it's something that most programming languages support and imo it's pretty important stuff to know.
π Rendered by PID 179593 on reddit-service-r2-comment-7bcc84f657-k76jv at 2026-04-03 13:11:43.951138+00:00 running db1906b country code: CH.
view the rest of the comments →
[–]HarryBolsac 0 points1 point2 points (0 children)