Re:Do variable names matter for AI code completion? (2025)
by delifue on Wednesday July 30, 2025 @02:28AM
(#44731386)
Did you add the type annotation of it in code?
[ Parent
| on HN ]
Re:Do variable names matter for AI code completion? (2025)
by Groxx on Wednesday July 30, 2025 @02:35PM
(#44737915)
This is in Go, so both "yes" (it's defined with an explicit type in the file, sometimes the same func) and "yes but" (afaict next to no code-agent looks at type information that e.g. gopls has readily available, or even godoc).