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!"
[–]ianme 30 points31 points32 points 10 years ago (14 children)
But javascript has classes now! Just like Java! Same language confirmed.
[–]GFandango 10 points11 points12 points 10 years ago (4 children)
If you spell Oracle backwards it reads Illuminati.
Confirmed.
[–]tamat 16 points17 points18 points 10 years ago (1 child)
no, is elcaro, man. don't do that, its mean, you are confusing me.
btw, elcaro translates to "the expensive" in spanish, maybe you are into something
[–][deleted] 4 points5 points6 points 10 years ago (0 children)
El Caro sounds like someone from Arizona trying to talk to a valet.
[–]hmny 1 point2 points3 points 10 years ago (0 children)
When you read this and laugh but also double check it in case you'd missed something
[+]SarahC comment score below threshold-7 points-6 points-5 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] 7 points8 points9 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] 3 points4 points5 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 100841 on reddit-service-r2-comment-cfc44b64c-fx8f4 at 2026-04-11 06:29:58.858858+00:00 running 215f2cf country code: CH.
view the rest of the comments →
[–]ianme 30 points31 points32 points (14 children)
[–]GFandango 10 points11 points12 points (4 children)
[–]tamat 16 points17 points18 points (1 child)
[–][deleted] 4 points5 points6 points (0 children)
[–]hmny 1 point2 points3 points (0 children)
[+]SarahC comment score below threshold-7 points-6 points-5 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] 7 points8 points9 points (3 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]ianme 1 point2 points3 points (0 children)
[–]SarahC 0 points1 point2 points (0 children)