News for hackers. Stuff that matters.
Re:GitHub Copilot by FreeSpeech on Tuesday June 29, 2021 @05:15PM (#27681816)
Has anyone used Copilot with a more succinct language? It appears to only automate boilerplate and rudimentary patterns, which while useful in repetitive low signal to noise ratio languages like React or Java, sounds less appealing if you're writing Clojure.
Re:GitHub Copilot by thu2111 on Wednesday June 30, 2021 @04:32AM (#27686304)
I've not used Copilot but I've experimented with two other AI driven autocompletion engines in Java and Kotlin. In both cases I uninstalled the plugins due to a combination of two problems:

1. The AI suggestions were often less helpful than the type driven IDE autocompletions (using IntelliJ).

2. The AI plugins were very aggressive in pushing their completions to the top of the suggestions list, even when they were strictly less helpful than the defaults.

The result was it actually slowed me down.

Looking at the marketing materials for these services, they're often focused on dynamic languages like Python or JavaScript where there's far less information available for the IDE to help you with. If you've picked your language partly due to the excellent IDE support, it's probably harder for the AI to compete with hand-written logic and type system information.

Re:GitHub Copilot by c0dezer019 on Saturday July 10, 2021 @01:43AM (#27791401)
I'd recommend TabNine, it is extremely helpful. I tried Kite once, and it is WAY overrated. So slow that by the time it provided me suggestions I was only a few characters away from finishing. Tabnine has saved me hours.
Re:GitHub Copilot by geekraver on Wednesday June 30, 2021 @03:34PM (#27692587)
Good luck using type-based autocomplete to write entire functions for you.
Re:GitHub Copilot by kopos on Tuesday June 29, 2021 @09:22PM (#27683865)
Or the converse?

If Copilot is as good as it gets but only for some languages, won’t it influence what languages will be chosen by devs or companies?

Re:GitHub Copilot by mtnygard on Tuesday June 29, 2021 @09:49PM (#27684008)
Indeed, I could imagine it becoming more difficult to adopt a language that doesn't already have a large corpus to train on.
Re:GitHub Copilot by Jeff_Brown on Tuesday June 29, 2021 @10:51PM (#27684354)
Could there be a boom followed by a bust? Sometimes a greedy algorithm looks good until it doesn't. It's at least imaginable that AI coding helps you do stuff locally that eventually ties you in knots globally, because you were able to rush in without thinking things through.

(It's also conceivable I'm put out of a job, but I'm not worried yet. So far I can only imagine AI automates away the boring part, and I super-duper-want that.)

Re:GitHub Copilot by rjzzleep on Tuesday June 29, 2021 @09:52PM (#27684021)
I really wonder sometimes if Java would never have made it that far if it wasn’t for eclipse and later IntelliJ.
Re:GitHub Copilot by zdragnar on Tuesday June 29, 2021 @10:43PM (#27684315)
Well, there are few things many programmers enjoy better than automating away repetitive tasks. If not exactly intellij or eclipse, something that achieved the same end would certainly have arisen.

I'm sure there's at least a few relevant XKCD strips to insert here.

Re:GitHub Copilot by chrisandchris on Wednesday June 30, 2021 @05:19AM (#27686539)
Would be an interesting fact so see companies adopt languages that need significantly more code to reach the same result just because some AI can automate a lot.

Thinking about generating 10 times the code you need, just because you can generate it instead of writing (perfomant?) code.

Re:GitHub Copilot by sdesol on Tuesday June 29, 2021 @07:37PM (#27683179)
This is a good point and it will be interesting to see if something like copilot will get developers/companies to adopt a language that is better supported by AI.

Edit: You are honestly downvoting me for saying something that might actually happen. If copilot lives up to the hype, but for a limited number of languages, this can have a profound affect on what languages people might decide to use in the future.

Re:GitHub Copilot by Nixinova on Wednesday June 30, 2021 @01:59AM (#27685393)
Boilerplate is the most annoying type of code to write/try to remember, having all of that automated away would be awesome.
Re:GitHub Copilot by int_19h on Wednesday June 30, 2021 @08:40AM (#27687735)
This approach is kind of a hack, though. The proper way to automate boilerplate is better PL/library design that makes it unnecessary.
Re:GitHub Copilot by oalae5niMiel7qu on Sunday July 04, 2021 @12:34AM (#27727245)
Wait until it's time to maintain all this autogenerated code. It's going to be a nightmare.
Re:GitHub Copilot by Breza on Monday July 12, 2021 @03:46PM (#27814215)
Don't worry, the most common bug fixes will become part of the suggested code, so when you start writing patches, Copilot will have great suggestions. And then when you have to fix the new bugs, same deal.
Re:GitHub Copilot by oalae5niMiel7qu on Sunday July 18, 2021 @02:04AM (#27871052)
The real nightmares will revolve around changing requirements. That's where a statistical analyzer is not going to be smart enough to know what's going on, and you're going to have to understand all this autogenerated code yourself.