Significant whitespace in a lisp! https://pasterack.org/pastes/6205 (racket cunningly uses indentation to suggest the correct line to fix)
miniblog.
Related Posts
I'm experimenting with a patch-style display format for difftastic.
What do you think? Do the colours work? What about the last example, where there's only whitespace changes and the syntactic diff has nothing to highlight?
I've released difftastic 0.46! In this release:
* Ada support
* Support for Arduino C++, better TOML handling, and a ton of upstream grammar updates
* Fixed several nasty corner cases with trailing whitespace or binary/UTF-16 confusion
@krinkle@mastodon.technology I don't know of anyone using difftastic by default, including me! (I use it >50% of the time though.)
I toyed with background colours but I didn't find anything that I really liked. Contrast is hard, and depends on the user's theme.
Background colours look bad with syntax highlighting (e.g. red background with blue comment text).
It also looked silly due to ignoring whitespace between symbols.
It's an interesting space and I'm still experimenting :)


