I'm all in favour of simple websites without unnecessary JS, but I find a large comment section skews my sense of article length.
If I'm reading a medium length post, the scrollbar can be very misleading if there are many comments.
Related Posts
Copilot doesn't offer a way of disabling completion inside comments. People have discovered a comical workaround: swearing in the comment! https://github.com/orgs/community/discussions/8062#discussioncomment-11902740
ASTs typically discard comments, and that's usually what you want.
The only time (AFAICS) that preserving comments is useful is for writing a code formatter.
Could you write a formatter in terms of a list of lexemes? A CST is a non-trivial bit of code for one use case.
I'm experimenting with syntax in examples. I don't really like Rust's `assert(inc(1) == 2)` syntax, I find it a little distracting.
I'm trying `inc(1) //-> 2`. The comment is rendered differently, and there's nothing before the sample code. What do you think?