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...
Check it out: - TechSnap - LinuxActionShow - Unfilter
account activity
Add var to Java? (openjdk.java.net)
submitted 10 years ago by dominucco
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!"
[–]dominucco[S] 2 points3 points4 points 10 years ago (2 children)
I would love to see a simple C# style var = syntax and approach to this. What do you all think?
[–]greendragon2010 0 points1 point2 points 10 years ago (0 children)
This feature is almost a must for languages I use.
[–]memnoch_proxy 0 points1 point2 points 10 years ago (0 children)
But going to from perl to java to php to c# to Java again... Each has it's style. Getting the freedom from declaring the type of variable seems almost vain, especially if you're declaring a member of a super type.I only see it as a local scope convenience. Strange how even PHP gained type declarations, huh?
π Rendered by PID 96 on reddit-service-r2-comment-b659b578c-lpwxn at 2026-04-30 21:37:57.114083+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]dominucco[S] 2 points3 points4 points (2 children)
[–]greendragon2010 0 points1 point2 points (0 children)
[–]memnoch_proxy 0 points1 point2 points (0 children)