4 ms·
Editors really need to improve their support or comments. Currently, they're even deemphasised in some color schemes (looking at you VSCode). I built a prototy
by matt4077 9y ago
Editors really need to improve their support or comments. Currently, they're even deemphasised in some color schemes (looking at you VSCode).
I built a prototype for an Atom extension a while back that rendered Comment blocks with a markdown parser, inline, right in the editor.
I'm hoping that the VSCode team gets around to implementing the extension hooks necessary to implement this at some point, since I've switched away from Atom.
- sametmax 9y agoI was really hoping we would have some common syntax for comments accross all languages. Something like doxygen + markdown, standardized that works for everyone, with a tool in all stdlibs to handle it.
- Cacti 9y agoIt's bizarre that we're still marking up code with comments like it's 1960. We need some sort of standard to include comments in code like footnotes, margin notes, and so on, that allow us to better explain what is going on without changing the actual readability of the code. It would require us to move away from strict file-and-text-editing as the end all of programming, which makes many uncomfortable of course. And you get into lock-in issues.
- dragonwriter 9y ago> It's bizarre that we're still marking up code with comments like it's 1960. We need some sort of standard to include comments in code like footnotes, margin notes, and so on, that allow us to better explain what is going on without changing the actual readability of the code. Actual comments already do that if the editor hides them by default; you don't need different syntax or abandoning pure-text representation, just the right editor features to do what you want.