Hacker News new | ask | show | jobs
by 49531 1232 days ago
Is that really faster than just reading the docs and editing some example code? You have to prompt an AI for what you need, have it generate the code for you, then read the code and validate it. That does not seem like a labor saving process to me.
2 comments

Well, you won’t know till you’ve tried.

I am using another code completion AI in my IDE, and it’s wonderful.

Why waste brain cells and time on mundane things when my time and attention is better spent thinking about the problem at hand.

And in the future, AI will be able to take over more and more of the time. Eventually we will not be needed at all.

> Why waste brain cells and time on mundane things when my time and attention is better spent thinking about the problem at hand.

This just sounds like a thought-terminating cliché; what mundane things are you spending your attention on while writing code? Sure, there are times where you might be generating boilerplate, cool, you're paying for a fancy snippet library, except the snippets are potentially malformed so you should check them every time.

> what mundane things are you spending your attention on while writing code?

To stick with my http library example, figuring out how to pass headers or a json body to a particular library, checking status codes, was it "status_code" or just status, is the body in an attribute called body or content or json or json(). I know this is trivial if you work with the same library over and over again but people are different and some of us work with a wide array of languages or libraries.

which particular code completion ai are you using? I'd be interested in trying some others just as a comparison to copilot
Tabnine AI Code Completion plug-in for JetBrains CLion

I code in Rust but said AI code completion works with some other languages also

https://plugins.jetbrains.com/plugin/12798-tabnine-ai-code-c...

You can stay in your editor, even in the same file. That for sure saves some time. You have to type out the function name and a comment probably anyway. I don't see how this couldn't be a net positive in terms of saved time and reduced context switching but we'll see.