Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I have found several functions in python 2.7.2 to be very useful and I recreated them in C++ for my own uses. How do I properly give python credit for them? Do I even have to? I never actually looked at their source codes. I just wrote functions that output the same values as the python versions of the function.

share|improve this question

migrated from stackoverflow.com Jul 22 '13 at 16:54

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

1 Answer 1

up vote 3 down vote accepted

You don't need to give any credit if you don't want to.

Most computer languages are inspired by other languages and have features like those languages. Just check Python's own tutorial on classes and library reference for itertools. While reading these I thought they were advertising and nearly gave up reading the tutorial on classes as it was too much in the beginning.

The point is that if you want you can mention that in a comment or fill paragraphs about how you were inspired by Python but it is not necessary as you never used/saw their actual code.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.