3 ms·
> AI autocomplete is just a toy I disagree, when I'm writing code and it just autocompletes the line for me with the correct type with the correct type params
by brigadier132 2y ago
> AI autocomplete is just a toy
I disagree, when I'm writing code and it just autocompletes the line for me with the correct type with the correct type params set for the generics it saves me the mental effort having to scroll around the file to find the exact type signature I needed. For these small edits it's always right if the information is in the file.
- lupire 2y agoWhy do you need an LLM for that? That basic type inference.
- brigadier132 2y agoi dont know what statically typed language you are using that never requires specifying types. As far as i know only ocaml works this way. Different languages support different levels of type inference. When im writing rust and typescript im often specifying types this way for structs and function signatures. With llms what often happens is i write a parameter or variable name and it infers from the name what the type is because i have used the same name somewhere else in my codebase. This would not work without llm autocomplete