My question is: do you ever cite a helpful question's URL in code?
I recently came across a simple utility function in an answer which saved me a little time*. It was syntactically correct, dropped right in, and may look stylistically out of place, so I thought it appropriate to put the URL in a comment.
// https://stackoverflow.com/questions/80476/... public static final String  whatever = concat(...);
I have done this before with my own questions, writing a comment explaining a section of code which ultimately had no definite or elegant solution. Is anyone else in the practice of doing this? I'm curious to know what others think.
*Time that I somehow used to write this question instead :-p