开发者

Code reuse tools

开发者 https://www.devze.com 2022-12-19 09:17 出处:网络
I usually maintain code snippets that I can resuse in a Wikidpad personal wiki with a small ind开发者_如何学运维ex page that can take me to any code that I want.

I usually maintain code snippets that I can resuse in a Wikidpad personal wiki with a small ind开发者_如何学运维ex page that can take me to any code that I want.

I want to share these snippets with my team and am looking for easy ways to do it.

Are there any tools that would help me setup such a repository? Or should I simply install a wiki and port my personal wiki there?

Thanks Hari


Google Docs, perhaps? Search-ability is the key. No one has time to cross-index, keyword-stuff, and organize "snippets" into complex ontologies.

Also, remember that when someone reuses code, they also reuse the bugs, limitations, and performance issues you may have worked out in subsequent revisions. The best way to reuse code is not to copy it, but to document it and make it accessible for direct reuse.


Some IDEs have a code-snippet utility built into them. e.g. Visual Studio has Code Snippet Manager. Or perhaps an addin like Resharper. My point being find something that integrates nicely with the IDE that your team uses.


Why not use code snipplr


An easy and reusable solution: a repository with web interface like subversion. Also Github can be a good option since you don't need installation

0

精彩评论

暂无评论...
验证码 换一张
取 消