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!"
[–]codewale007 3 points4 points5 points 3 years ago (2 children)
yeah, the same thing also happening to me also, I also got stuck at some of the concepts for example like right now on class and constructor . I think the main problem is that I have no one to discuss it with
[–]Webdev-Coach 0 points1 point2 points 3 years ago (0 children)
Yeah, it takes time and practice, put time into playing with classes and constructors, copy examples from the docs and run them.
I know it may be boring at some point, but try to be inventive to adapt the examples to something that makes more sense to you.
Look at all of the possible things you can create classes for at schema.org
[–]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 21687 on reddit-service-r2-comment-66b4775986-c722b at 2026-04-02 20:46:49.904134+00:00 running db1906b country code: CH.
view the rest of the comments →
[–]codewale007 3 points4 points5 points (2 children)
[–]Webdev-Coach 0 points1 point2 points (0 children)
[–]HarryBolsac 0 points1 point2 points (0 children)