Aug 4, 2018
It's been a slow week, but one idea I've been playing with is "comment tokens"[1]: effect-less words that you can sprinkle into your programs to make them more readable.

Concretely, SubX lines can get long, and the comment at the end is often far away and hard to line up visually with the instruction it's referring to. The solution: dot leaders[2].

screenshot of https://github.com/akkartik/mu/blob/a2001d15a1/subx/ex7.subx

https://github.com/akkartik/mu/tree/55b4627de1/subx

[1] Originally in the context of Lisp: https://github.com/akkartik/wart/commit/c2e6d0c6d3

[2] https://www.w3.org/Style/Examples/007/leaders.en.html

This post is part of my Freewheeling Apps Devlog.

Comments gratefully appreciated. Please send them to me by any method of your choice and I'll include them here.

archive
projects
writings
videos
subscribe
Mastodon
RSS (?)
twtxt (?)
Station (?)