Lurker News
I'm looking for advice om whether I should publish my research code? The paper itself is enough to reproduce all the results. However, the implementation can easily take two months of work to get it right.

In my field many scientists tend to not publish the code nor the data. They would mostly write a note that code and data are available upon request.
I can see the pros of publishing the code as it's obviously better for open science and it makes the manuscript more solid and easier for anyone trying to replicate the work.
But on the other hand it's substantially more work to clean and organize the code for publishing, it will increase the surface for nitpicking and criticism (e.g. coding style, etc). Besides, many scientists look at code as a competitive advantage so in this case publishing the code will be removing the competitive advantage.

Comments (353) 192 threads

Earlier comments
ai_ja_nai#
You absolutely should. Papers should always have reproducible code, otherwise there is no practical usage for the community. Crap is better than nothing.
INTPenis#
I don't think you have to do any work at all on it if you don't want to. Just release it and let people fork it, let it grow.
ricogallo#
Publish the code. At worst no one will look at it, at best you will draw more attention to your work and maybe get some good tips.
1MachineElf#
Was the research funded with public money? If so, then the public interest would be a reason to publish the research code.

Load more comments