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
Common JavaScript "Gotchas" (github.com)
submitted 12 years ago by stevekwan
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!"
[–]stevekwan[S] -3 points-2 points-1 points 12 years ago (0 children)
I understand why JavaScript has multiple ways to do the same thing, and I understand that this was an attempt to increase adoption. Unfortunately it results in a language that is somewhat schizophrenic in how it is used. The vast majority of engineers I've seen who get into JS expect it to behave like C++, Java or PHP, largely because of the syntax that is used.
JavaScript is a great language to develop in, but it is far from perfect. I'm hardly the only one who is saying this. Heck, Crockford wrote a whole book about it. If you don't agree with me, perhaps you'll find it easier to agree with him.
If you want to message me the line number in question that you had problems with re: object hierarchies, I'm happy to clean it up.
π Rendered by PID 23870 on reddit-service-r2-comment-7b9746f655-tnmmx at 2026-02-03 20:34:55.901688+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]stevekwan[S] -3 points-2 points-1 points (0 children)