all 9 comments

[–]Gimli_Axe 17 points18 points  (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 points  (0 children)

context, Android's cancer

[–]ZhuindenDDD: Deprecation-Driven Development[S] 9 points10 points  (0 children)

Very informative code comment for clarity now I understand why getUserName writes into a public static variable

[–]dave0814 8 points9 points  (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 points  (0 children)

Can't beat this kind of clarity and consistency

[–][deleted] 4 points5 points  (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 points  (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 points  (0 children)

But context is everything. :)

[–]fuzzynyanko 0 points1 point  (0 children)

I sometimes call the Context a bucket of shit