I'm still experimenting with patch display in difftastic.
The change to the imports are clearer in the patch mode, but the side-by-side mode does make the if/else changes more readable.
Patches are probably worthwhile anyway due to their machine readability.
miniblog.
Related Posts
I get a lot of value from tech/PL microblogging as @_wilfredh on Twitter, and often get interesting comments. I'm not sure how much the new CEO will affect that.
I also cross-post to https://mastodon.social/@wilfredh and have interesting discussions there too. Both are worthwhile today.
On the limits and perils of being data driven: https://twitchard.github.io/posts/2022-08-26-metrics-schmetrics.html
(Worthwhile improvements are often not amenable to A/B testing, and metrics can harm intrinsic motivation.)
Unicode attacks creating invisible variables in JS: https://certitude.consulting/blog/en/invisible-backdoor/
Unicode in string literals or comments seems worthwhile, but non-ASCII in variable names seems fraught.

