Many languages use docstrings rather than doc comments: it certainly makes extracting them easier. You just parse the code.
Could you go further and require all comments to be string literals? I'm struggling to think of many downsides.
miniblog.
Related Posts
I've just realised that Community Fibre, my ISP, offers 5 Gb/s packages in some London addresses!
I'm struggling to imagine a use case for such a high residential bandwidth. When I switched to 1 Gb/s I needed to upgrade my wifi router to actually take advantage.
Are there any languages that have both pattern matching and statement oriented syntax?
In principle these are orthogonal, but I'm struggling to think of a language with pattern matching that isn't expression oriented.
Is Forth really a memory-unsafe language? I'm struggling to picture what e.g. a use-after-free would look like in such a minimal programming language.