r/programming • • Jul 20 '13

Programming without Text Files

http://pointersgonewild.wordpress.com/2013/07/19/programming-without-text-files/
32 Upvotes

119 comments sorted by

View all comments

Show parent comments

1

u/FrozenCow Jul 21 '13

So, how do you think files will be saved? Will they still be in text, but just formatted by the IDE, or binary by saving the tree?

If it's saved as a tree, tools like version control must have semantic diffing. I'd agree that this is much nicer, adding an 'if' around code should only show that part of the code being changed, instead of also all indentation. It does however require a lot of tools to have knowledge of the language, that could be problematic practically speaking.

1

u/maximecb Jul 21 '13

I'd tend to want to save the source AST in a binary blob, along with other data, similarly to a Smalltalk image, but it would probably be convenient to store code in some kind of textual representation (e.g.: XML or sexprs) while bootstrapping the system. I agree that building the tooling for such a system would be a big undertaking. I don't necessarily think that this will happen all that quickly, but I think that this kind of design eventually will become mainstream, even if it takes decades.