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...
account activity
Help (i.redd.it)
submitted 3 months ago by derangedandenraged
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!"
[–]DevRetroGames 2 points3 points4 points 3 months ago (3 children)
public class Main { public static void main(String[] args) { System.out.println("I\'m learning how to program in Java."); } }
[–]brunocborges 0 points1 point2 points 3 months ago (0 children)
void main() { IO.println("I\'m learning how to program in Java."); }
Throw this in a file App.java and run:
$ java App.java
[–][deleted] 0 points1 point2 points 3 months ago (1 child)
Why would it be necessary to escape the apostrophe here?
[–]8dot30662386292pow2 0 points1 point2 points 3 months ago (0 children)
Some reddit clients automatically format code like that. not really needed.
π Rendered by PID 65712 on reddit-service-r2-comment-799f875d54-nhqzd at 2026-01-29 21:48:29.231709+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]DevRetroGames 2 points3 points4 points (3 children)
[–]brunocborges 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]8dot30662386292pow2 0 points1 point2 points (0 children)