Code Completion with Statistical Language Models: https://www.cs.technion.ac.il/~yahave/papers/pldi14-statistical.pdf
This amazing paper trains a language model on a Java corpus, then builds a code completion tool that can write whole snippets of code!
miniblog.
Related Posts
Bevy has an amazing approach to code review that requires two reviews by the community before a maintainer will review and merge.
"We let anyone submit PRs without vetting: why is the bar higher for reviewing?"
https://shaping.systems/blog/open-code-review/
The literal 0xffu8 in Rust is pretty tricky to read without syntax highlighting. It looks like a plain hexadecimal value at first.
(Why not have syntax highlighting? Ironically I was debugging and improving VS Code's Rust highlighting.)
Today in cursed C code:
void foo(int32_t int32_t, int32_t bar);
Since C puts identifiers and typedefs in the same namespace, this code just produces a confusing compile error about the type of bar!
(This occurred in some real code after macro expansion.)



