3 ms·
Rust had an RFC at one point that considered removing (some) block comments, which generated a good argument in their favour (see also the longer comment 5 repl
by KwanEsq 9y ago
Rust had an RFC at one point that considered removing (some) block comments, which generated a good argument in their favour (see also the longer comment 5 replies later):
https://github.com/rust-lang/rfcs/pull/1373#issuecomment-205864317 https://github.com/rust-lang/rfcs/pull/1373#issuecomment-205...
Essentially it's very annoying (slash slash) for blind programmers (slash slash) if their screen readers (slash slash) keep reading out (slash slash) line comment delimiters (slash slash) during long comments.
- yen223 9y agoThis feels more like a deficiency in the screen reader than one in line comments.
- KwanEsq 9y agoI'd argue the editor rather than the reader. Readers can't be too specialised, they have to work with a large variety of programs, so it's not going to know it's looking at code, let alone parsing it, unless the editor tells it. Instead the editor should have an accessible interface that only passes up the comment text to the reader, perhaps annotated with a "comment" role or something.