At the bottom of stack overflow it says "user contributions licensed under cc by-sa 3.0 with attribution required". The Creative Commons license states that "You are free to remix, transform, and build upon the material for any purpose, even commercially as long as you follow the license terms"
First of all, is it to the website or to the user that I make my attribution when distributing code?
Second of all, this wording leads me to believe that I am obligated to credit a party if I use their answer in any way. Does this go down to the concept? If someone teaches me how to do something in a language, in which of the following circumstances am I obligated to credit them?
- I copy and paste their code somewhere
- I type their code somewhere
- I copy and paste their code somewhere and edit it
- I use the concepts detailed in their answer somewhere
- I use the knowledge detailed in their answer that I have retained in a circumstance not mentioned in or related to the answered question
- I teach someone else how to do that same thing in another medium