I've never really understood the desire to have completion for built-in keywords. They're not long enough to be worth saving keystrokes.
miniblog.
Related Posts
Copilot was super helpful for changing some locals to lazy_static!:
let integer_re = Regex::new(...) // old
static ref INTEGER_RE = Regex::new(...) // new
Unfortunately, it added a $ to the end of my first regex! It saved me a ton of keystrokes, but needed careful checking.
Suppose I want to convert a string to uppercase in a language.
(1) Google it.
(2) Read the official docs or a Stack Overflow answer.
(3) Copy-paste the function/method name to my program.
This is an absurd number of keystrokes! Do any languages aim to minimise this?
I really like languages where private functions are fewer keystrokes than public functions.
Unfortunately 'protected' is longer than 'public', or 'pub(crate)' and 'pub'.
Have any languages solved this? E.g. 'fn foo', 'pkg fn foo', 'public fn foo' would work.