5 ms·
Version control - the most text-oriented part of the whole deal. Files of ASCII, tracked by LINE??? Instead track definitions, APIs, formal argument structure
by JoeAltmaier 16y ago
Version control - the most text-oriented part of the whole deal. Files of ASCII, tracked by LINE???
Instead track definitions, APIs, formal argument structure, constraints! Make all that and more part of the 'code' and track its changes and meta-changes. And check it against the product and test plan too!
I imagine a schema capturing the semantics of a program with an audit trail, checkpoints of consistent state, reports that flag contradictions and incomplete subtrees etc.
Instead I get "automatic merge tools" that shuffle my changes into somebody else's like a dealer at Vegas.
- beza1e1 16y agoVersion control on a semantic level would require to understand the semantics of source code. Thus, your ideal vcs tool must have a parser for every programming language, every XML schema and other non-binary data format.
- Goosey 16y agoOr it supports X language provided by Y plugin and per-line versioning elsewhere. Does a python programmer care if his magical VCS tool doesn't understand the semantics of !python code? I think the parent's suggestion is quite novel!
- JoeAltmaier 16y agoExactly. A parser for each programming language is the cheapest, simplest part. At root, programming languages all come down to a semantic graph. Manage that! At the same time, you would be able to render the 'code' as any language you like (within reason).