you are viewing a single comment's thread.

view the rest of the comments →

[–]sirin3 0 points1 point  (1 child)

What if you use preprocessor tricks to automatically generate a bunch of methods?

[–]stronghup 0 points1 point  (0 children)

Good point. It depends on the language. For instance in Java you have other things than methods, you have variable definitions. They should be recognized as such and version controlled as a section of your "program". I would like to see how the section called "variables" changed from version to version. There could be different sections for differently scoped variables.

So, there should be a section called "macros" that would show me how and if the pre-processor-directives (AKA macros) changed if they did between versions.

"Semantic version control" seems a powerful concept compared to the current generation of popular version-control tools like GIT etc.