What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

This question already has an answer here:

I'm working on an iOS Game and I found a piece of code on this site that I really want to use, and don't want to waste time studying and writing my own similar one that follows the same basic idea. Am I allowed to directly copy the code for my game?

Thanks in advance.

share|improve this question

migrated from stackoverflow.com Jul 2 '13 at 5:34

This question came from our site for professional and enthusiast programmers.

marked as duplicate by ben is uǝq backwards, Tobias Kienzler, hims056, Lucifer, Rory Jul 2 '13 at 11:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2  
+1 for asking instead of just copying blindly. –  Mołot Jul 2 '13 at 7:12

3 Answers 3

Since contributors to Stack Overflow license their work under the CC-Wiki license...

enter image description here

But only under the following conditions:

enter image description here

share|improve this answer

Yes. Any code posted on Stackoverflow is for the benefit, help, and use of others. If you use a ton of code give credit where credit is due.

share|improve this answer

In short: Yes

I see no reason you couldn't use it as a template for your own work or even copy sections directly, after all building on top of things other people have created is totally normal.

However, you'll probably find you get more from doing it yourself. Plus it's often more fun.

See: Do I have to worry about copyright issues for code posted on Stack Overflow? for a fuller answer around copyright etc.

Edit: Didn't notice the 'this site part', have clarified

share|improve this answer
    
Ok thanks bro. I see what you mean about not completely copying the code for myself, but it's only one function that I need to get done, and one that I really don't want to spend a bunch of time on. –  67cherries Jul 1 '13 at 23:51

Not the answer you're looking for? Browse other questions tagged .