Code management

Started by
13 comments, last by SiCrane 12 years ago
Antheus, I'm not convinced your hyperbolic arguments are helpful here. Reusing code (in particular low level code like C++) has challenges, but it is not quite the Everest you are making it out to be.

Tone it down.
Advertisement
I'm really looking for something smaller scale. I have a couple of dozen C++ classes I wrote that I use regularly (custom exception handler, parameter file parsing, data file clean up, etc.), a large number of Python scripts that do a whole variety of things, and a few R scripts that I use for general data mining, chart generation etc. The issue I run into, is that when I start a project, I find myslef doing many of these things over and over and I find myself looking through my directory tree to find the script I wrote that did this last time, trying to remember where I saved it. I'm just looking for something that will conveniently organize the classes/scripts/etc., and maybe give me the ability to more simply find the ones I've already written. Maybe searchable keywords - that sort of thing.

Again, I'm not doing anything monumental here. I would just like to organize the pieces I have a little (lot) better.
Why not just include a comments section in each script, where you list keywords you think you might like to search by later?

Then you could just use the search built into your OS.
[size="1"]

Why not just include a comments section in each script, where you list keywords you think you might like to search by later?

Then you could just use the search built into your OS.


Yeah, I thought of that, too. I was interested in how others manage their code, and hoping for something a bit more elegant.
You could try putting code you reuse in a personal wiki. Almost all such software has search functionality and versioning. Some also have tagging.

This topic is closed to new replies.

Advertisement