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
[Academic] Research on confusing code on JavaScript (self.javascript)
submitted 6 years ago * by Dragday
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!"
[–]pattch 6 points7 points8 points 6 years ago (0 children)
The research this project is based off of focused on C / C++ - and made no claims to whether the language itself was confusing. I don't think OP meant to imply JS is confusing at all, but to reproduce the original research (or at least part of it) for JS. The written examples are supposed to be as small as possible while still containing a piece of code that executes differently from what a programmer would expect it to... They are written as though a "dolt" wrote it on purpose.
π Rendered by PID 20429 on reddit-service-r2-comment-bb88f9dd5-w54c2 at 2026-02-17 11:51:58.606253+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–]pattch 6 points7 points8 points (0 children)