News for hackers. Stuff that matters.
Re:Zed AI by nsonha on Tuesday August 20, 2024 @03:26PM (#41303140)
AI autocomplete is just a toy, it has been there since the begining of AI code and I find it pretty useless. I prefer making a proper prompt to get better answers. Also most of the time engineers (use AI to) modify existing codebases rather than making new code.
Re:Zed AI by brigadier132 on Tuesday August 20, 2024 @03:35PM (#41303231)
> 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.

Re:Zed AI by lupire on Tuesday August 20, 2024 @03:39PM (#41303268)
Why do you need an LLM for that? That basic type inference.
Re:Zed AI by brigadier132 on Tuesday August 20, 2024 @04:15PM (#41303604)
i 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

Re:Zed AI by rty32 on Tuesday August 20, 2024 @03:33PM (#41303212)
Google's systematic, quantitative evaluation of AI coding assistance tools disagrees with your personal and anecdotal findings (which agrees with many other similar studies):

https://research.google/blog/ai-in-software-engineering-at-g...

Re:Zed AI by lupire on Tuesday August 20, 2024 @03:42PM (#41303295)
I don't see a comparison to Non-GenAI auto complete there.

Eclipse wrote half my code characters 15 years ago.

Re:Zed AI by simonw on Tuesday August 20, 2024 @03:35PM (#41303225)
What programming languages do you mostly work in?

I've been wondering if the benefits of AI-autocomplete are more material to people who work in languages like Python and JavaScript that are harder to provide IDE-based autocomplete for.

If you're a Java or TypeScript developer maybe the impact is reduced because you already have great autocomplete by default.

Re:Zed AI by cjonas on Tuesday August 20, 2024 @03:41PM (#41303285)
I think typescript benefits even more than JavaScript because the type signatures add so much context. After defining the types and signatures copilot will often complete the body within a few changes of perfect
Re:Zed AI by zackproser on Tuesday August 20, 2024 @07:07PM (#41305000)
Yeah +1, the current top LLMs do pretty well with TypeScript