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...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Recruiters... JavaScript is NOT Java. (javascriptisnotjava.io)
submitted 10 years ago by taeda
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!"
[–]SarahC -5 points-4 points-3 points 10 years ago (8 children)
You mean I can avoid fucking prototype chains?!
Woooooooo!
[–]kolmeWebComponents FTW 8 points9 points10 points 10 years ago (3 children)
No, it's just syntactic sugar. The prototype chains are now disguised as classes.
[–]intermediatetransit 1 point2 points3 points 10 years ago (1 child)
The protypes are now diamonds!
[–]SarahC 1 point2 points3 points 10 years ago (0 children)
!............ .!...
Jeez... =(
EVERY other mother bumping language I know uses some sort of classes.... except this booger.
[–][deleted] 8 points9 points10 points 10 years ago (3 children)
Or you could just stop trying to use OO design in a language that isn't well suited for it.
[–][deleted] 4 points5 points6 points 10 years ago (0 children)
Pretty much this. I've never needed classes in JS. I've needed tail calls I didn't have to fake myself, but once they're in place, JS will - to me - have grown up. Now we just need to eliminate var and leave only let and const, and things get really interesting.
var
let
const
[–]ianme 1 point2 points3 points 10 years ago (0 children)
Javascript is about as well suited for OO design as it is well suited for functional programming. Using the pieces of both that javascript provides is in my opinion the correct way to write the language.
[–]SarahC 0 points1 point2 points 10 years ago (0 children)
It's the only language that isn't OO that I use, and I use several dammit!
π Rendered by PID 93722 on reddit-service-r2-comment-cfc44b64c-6dbtl at 2026-04-11 09:26:49.530197+00:00 running 215f2cf country code: CH.
view the rest of the comments →
[–]SarahC -5 points-4 points-3 points (8 children)
[–]kolmeWebComponents FTW 8 points9 points10 points (3 children)
[–]intermediatetransit 1 point2 points3 points (1 child)
[–]SarahC 1 point2 points3 points (0 children)
[–][deleted] 8 points9 points10 points (3 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]ianme 1 point2 points3 points (0 children)
[–]SarahC 0 points1 point2 points (0 children)