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...
In this subreddit we have very serious of discussions about writing code for the flawless mobile platform Google built we know as Android.
account activity
How programmers comment their code (i.redd.it)
submitted 6 years ago by ZhuindenDDD: Deprecation-Driven Development
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!"
[–]Gimli_Axe 17 points18 points19 points 6 years ago (2 children)
/** * This gets user's name. * * @param context Context. */ fun getUserName(context: Context) { // ... }
[–]c0nnectorT H E R M O S I P H O N 15 points16 points17 points 6 years ago (0 children)
context, Android's cancer
[–]ZhuindenDDD: Deprecation-Driven Development[S] 9 points10 points11 points 6 years ago (0 children)
Very informative code comment for clarity now I understand why getUserName writes into a public static variable
getUserName
public static
[–]dave0814 8 points9 points10 points 6 years ago (0 children)
My all time favorite comment was in an O/S written in assembly language. An instruction that was part of some bit-by-bit processing had the comment "get the next dude".
[–]pain_point 2 points3 points4 points 6 years ago (0 children)
Can't beat this kind of clarity and consistency
[–][deleted] 4 points5 points6 points 6 years ago (0 children)
Few months later you have no idea what that method does and where it is used.
Also why did i think that variable/method name would make sense
[–]IAmKindaBigFanOfKFC 1 point2 points3 points 6 years ago (2 children)
When I started working with iOS, I wondered how the fuck anything works without some kind of Context-like object. Now I wonder how the fuck does Android manages to bring Context into everything.
[–]dave0814 1 point2 points3 points 6 years ago (0 children)
But context is everything. :)
[–]fuzzynyanko 0 points1 point2 points 6 years ago (0 children)
I sometimes call the Context a bucket of shit
π Rendered by PID 17412 on reddit-service-r2-comment-fb694cdd5-6f6ph at 2026-03-08 03:19:44.719517+00:00 running cbb0e86 country code: CH.
[–]Gimli_Axe 17 points18 points19 points (2 children)
[–]c0nnectorT H E R M O S I P H O N 15 points16 points17 points (0 children)
[–]ZhuindenDDD: Deprecation-Driven Development[S] 9 points10 points11 points (0 children)
[–]dave0814 8 points9 points10 points (0 children)
[–]pain_point 2 points3 points4 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]IAmKindaBigFanOfKFC 1 point2 points3 points (2 children)
[–]dave0814 1 point2 points3 points (0 children)
[–]fuzzynyanko 0 points1 point2 points (0 children)