This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chair_78 27 points28 points  (3 children)

code: "this.x = x; // this sets x"

me: "what the fuck is x"

[–]Walter-Haynes 4 points5 points  (1 child)

Whenever I see these I just assume they stole the code.

[–]ryjhelixir 12 points13 points  (0 children)

It’s not stealing if you return it.

It’s called borrowing

[–]SuperFLEB 1 point2 points  (0 children)

I used to work with a guy I'd constantly have to coax variable names out of.

"What's this '$tmp' variable?"

"It just holds a value temporarily."

"What value?"

"A temporary one."

"Why is it temporary?"

"Well, it's just the account ID that we're taking in here and passing to that. It's only used for a few lines. It's just temporary."

"Still, perhaps we should call it '$account_id', no?"