I still love the demo of abstract types for hash map access. If you have a function K -> Map<K,V> -> V it's almost certainly looking up the key.
It's nifty because there are very few other implementations that fit this signature.
miniblog.
Related Posts
TIL that LSP 3.18 was released this month! Several APIs now support richer content, such as tooltips or docs on code action kinds.
Signature help continues to improve too, allowing you see more about a function at its call site.
TIL that PGP keyservers no longer support 'web of trust' chains of signatures, as they were being spammed by people uploading massive signature chains:
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?
