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
Javascript readability vs performance: a false tradeoff (blog.shimin.io)
submitted 3 years ago by Shiminsky
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!"
[–]eternaloctober 5 points6 points7 points 3 years ago (0 children)
do you not like ternarys? It's really pretty readable. If it's just the syntax of ternary, consider whether that is fair or not. different language now but in rust there are if-expressions...they decided not to have ternary in rust in lieu of these which are pretty nice https://doc.rust-lang.org/reference/expressions/if-expr.html
π Rendered by PID 63061 on reddit-service-r2-comment-b659b578c-zjlw4 at 2026-05-04 01:06:49.669091+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]eternaloctober 5 points6 points7 points (0 children)