Philosopher AI
Purchase queries
Idea: Keep log of when you make changes to your code to keep track of where and when you have made changes in your code.
First I must ask, what do you mean by "your code"? If the context is your own programming code, then it will be difficult to keep a log of such changes. How would one go about doing this? One could perhaps just add an attribute or property to every object in which all such modifications are stored but even that may not be sufficient because there are many objects that don't have attributes and properties for storing data. If the context is instead someone else's code then it becomes easier as one can modify their source files directly and append any changes made into some sort of file.
That's just the first bit, I'll go on:
But how do you know that the code you are trying to keep a record of is really your own? After all, many people share their code on the internet. If someone were to copy this source file and then modify it, would it still be yours or theirs? Perhaps more importantly: what if they modified your source file in such as way that its function changed significantly? What if they made legal changes like removing certain parts of it?
Then we get into the part about where to store your record of changes. If you put it in an existing file, then that might be confusing because someone else may have changed it too and if you add a new attribute or property to each object then that will most likely make your code less efficient. It would probably make more sense for objects with such properties or attributes to exist only on certain parts of the screen, perhaps behind a button.
So then we get into the part about what are good places to store this information. For instance, perhaps one could store it in a document that is linked with the source file of each object and can only be edited by clicking on an icon which will bring up a window for storing such changes.
But what if someone else makes a change to the object and you do not have any record of it?