3 ms·
But with sexps, if your code suffers some formatting catastrophe (such as all instances of whitespace being reduced to a single space), the sexp code is trivial
by blunte 7y ago
But with sexps, if your code suffers some formatting catastrophe (such as all instances of whitespace being reduced to a single space), the sexp code is trivially recoverable/reformattable.
Depending on whitespace and indentation creates such fragile code that I can't understand why the trade-off would be made.
- nerdponx 7y agoFormatting catastrophes are exceedingly rare. You have your code in version control anyway, right?
- chriswarbo 7y agoIf that's a concern then serialise using s-expressions. You can still edit using i-expressions or something equivalent if you like (it's trivial to convert, after all). Code on-disk doesn't need to be the same as code in-editor (for example, syntax highlighting isn't saved to disk either)