Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I’ve also been using the Alpha for around two weeks. I'm impressed by how GitHub Copilot seems to know exactly what I want to type next. Sometimes it even suggests code I was about to look up, such as a snippet to pick a random hex color or completing an array with all the common image mime-types.

Copilot is particularly helpful when working on React components where it makes eerily accurate predictions. I see technology like Copilot becoming an indispensable part of the programmer toolbelt similar to IDE autocomplete for many people.

I also see it changing the way that programmers document their code. With Copilot if you write a really good descriptive comment before jumping into the implementation, it does a much better job of suggesting the right code, sometimes even writing the entire function for you.



They finally did it. They finally found a way to make me write comments.


The real purpose of this tool.


Jesus. From a guy with your track record that means a lot.


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.


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.


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.


Good luck using type-based autocomplete to write entire functions for you.


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?


Indeed, I could imagine it becoming more difficult to adopt a language that doesn't already have a large corpus to train on.


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.)


I really wonder sometimes if Java would never have made it that far if it wasn’t for eclipse and later IntelliJ.


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.


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.


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.


Boilerplate is the most annoying type of code to write/try to remember, having all of that automated away would be awesome.


This approach is kind of a hack, though. The proper way to automate boilerplate is better PL/library design that makes it unnecessary.


Wait until it's time to maintain all this autogenerated code. It's going to be a nightmare.


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.


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.


[flagged]


Is this a joke? Top 3 comments follow almost an identical format?


It's a feature not a bug. Copilot also assists with HN comments!


Amazing, this is exactly what I was going to type!


I suppose you were both trained on the same data set.


Right? Im getting heavy astroturf vibes from these repetitive, nearly perfectly phrased, corporate sounding paragraphs of pure praise.


This is the HN copilot, which writes comments for you.

Basically, if you look at what’s not yet available to the public, we have engines that can write an entire program that does what you want, a test suite, documentation, and write thoughtful comments on all the forums about why the program is good. They could make about 100,000 programs an hour on a cluster, together wih effusive praise for each, but that would make everyone supicious.


Ferross is a well known figure and a monster talent. I seriously doubt he has sold out as a Github shill.


> it does a mucho mejor trabajo de sugerir the right code, sometimes it is even writing the entire function para ti.

Whether it's a joke or astroturfing, this alone makes it brilliant.


It's a direct reply to the other comment you mention and it parses like it's autogenerated but then swerves off into another language. I'm pretty sure it's a joke.


Yes it was a joke. I wrote it myself. Seems many people didn't get it. Oh well...


Does it sometimes switch into a different language mid-function?


I do it todo el tiempo


Is there a rule for banning users that sell their account for this type of comment ? If not there should be


[flagged]


They were replaced by GPT too :)


More like GPT three :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: