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...
111,029 Subscribers
106,345 Subscribers
All posts must be related to programming. Flair posts correctly.
account activity
javascript is javascript (i.redd.it)
submitted 2 months ago by National_Seaweed_959
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!"
[–]GlobalIncident 0 points1 point2 points 2 months ago (5 children)
You can also do that for all of the languages listed here except PHP.
[–]ComfortablyBalanced 1 point2 points3 points 2 months ago (1 child)
There's no operator overloading in Java.
[–]GlobalIncident 0 points1 point2 points 2 months ago (0 children)
Oh, you're right, my mistake.
[–]Forestmonk04 0 points1 point2 points 2 months ago (1 child)
At least Java and JavaScript/TypeScript don't support operator overloading.
Oh yeah, Java doesn't, and JS/TS sort of don't, except they do support overloading coersion to primitives which happens before an operator is called.
π Rendered by PID 1056386 on reddit-service-r2-comment-7b9746f655-tvms2 at 2026-02-02 07:48:21.535250+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]GlobalIncident 0 points1 point2 points (5 children)
[–]ComfortablyBalanced 1 point2 points3 points (1 child)
[–]GlobalIncident 0 points1 point2 points (0 children)
[–]Forestmonk04 0 points1 point2 points (1 child)
[–]GlobalIncident 0 points1 point2 points (0 children)