3 ms·
Your logic is sound, although I can't really imagine anyone adopting this scheme. Actually, I would take it much further: Instead of code being stored as a pl
by stevenhilder 7y ago
Your logic is sound, although I can't really imagine anyone adopting this scheme.
Actually, I would take it much further:
Instead of code being stored as a plain text file, store an abstract syntax tree in some binary form. Then all indentation, whitespace, keywords -- in fact, practically the entire syntax -- could be defined according to your preferences, while maintaining full interoperability with fellow developers.
Of course this would require an editor/IDE specially designed to work this way, and a VCS that can diff the binary AST in a syntax-agnostic manner.
This is what I'm currently working towards, as part of a programming language that is defined only by its semantics (the syntax itself is dynamic/extensible).
Check back on me in about 10 years :)