What does it mean to “cite” a source?Given the complexity, always changing nature of software, this is insufficient for research.
In writing a computer program, it means:You use comments to credit the source of any code you adapted from an open source site or other external sources. Generally, providing a URL is sufficient. You also need to follow the terms of any open source license that applies to the code you are using.
Clearly, citation of code is in need of some education - what happens 5 years from now? Which branch / version where you citing? What were the specific versions of ancillary code and libraries your solution depended on?
Here's a brief article on need for citing code as research has become more computation and data intensive:
Note: this link is shown below for convenience, for a quick preview.