3 ms·
I definitely agree with most of this but I have to challenge the web browser analogy because that's a scenario where the concept of the view (visual, screen rea
by davnicwil 7y ago
I definitely agree with most of this but I have to challenge the web browser analogy because that's a scenario where the concept of the view (visual, screen reader, etc) being interpreted from the textual representation is built in - as in, there is no end user who consumes the raw markup as-is. So different end users working with different views is a completey natural and expected thing.
I guess that's what's missing to make this work for code. The raw code is intended as the final representation to the end user.
Maybe what you'd need to make this work is to build in the concept of formatting to the source control itself, so all the way through the tooling you could 'render' the code as you'd like to see it, and do all operations on it using that view (including diffs, etc). Maybe sort of like you can with syntax highlighting, except with positional formatting instead.