Anecdotally, I've noticed more frequent doc comments in languages that put them inside the function (e.g. Python, Lisp) rather than outside (JS, Rust).
Perhaps it's easier to write the rough signature before the explanation?
It's such a tiny thing, but I really like the Python or Lisp convention of putting the doc string inside the definition.
I find I write the signature first anyway, and figure out what I want to call my function, before I know how I want to describe it.
Python's GIL is well known, but many languages have limitations on multithreading (e.g. JS, Ocaml).
Perhaps this is a consequence of C as a popular implementation language? A GIL could be less common when Rust is the implementation language.
An overlooked PL question: what is easy to try in a given language? In lisp it's easy to try adding extra syntax. In Rust it's easy to try parallelism on iterators (rayon).
Are there other examples? Perhaps Perl and regexes or Haskell and STM?
Wilfred Hughes
Shared words: Lisp, Rust, Perhaps, languages
Score: 224.8