Maybe thirty four years later. I don't think there's AI to gather requirements, talk to people, understand a problem and produce code. That's kinda general intelligence level AI.
But this thing can possibly make devs work easier and if it's good enough maybe smaller teams can produce more.
This will allow for a D or C level coder to be a B/B- coder which is great, quality goes up. But corps will use this to depress wages and finally be able to create that wonderous unicorn of completely fungible coder.
This kind of tooling is akin to the crossbow. It will allow for less skilled folks to push out code that is like other code at great speed. A copy pasta accelerator if you will.
I'm not at all worried about AI taking over software development. In all likelihood, what you'll see instead are AI plugins in IDE editors which just assist in a much more advanced way than the intellisense we have now. Having machines code out the business logic is very much so something that would be less efficient than having a person do it.
Realistically, it just means that, rather than your coworker code-reviewing you and making a handful of comments, you get a machine to do that, and get two or so comments from your coworker about the business logic. To answer your question: never.
I imagine that AI like this will certainly speed up development, but I suspect you will almost always need someone in the middle putting the pieces together.
Unless we achieve AGI this is never going to replace programming because it will instead just make programming a higher level task.
And well, if we achieve AGI (which I think could be pretty soon), all jobs will replaced, so it's not something I think anybody should be worried about.
It should be able to (try to) do something like that too.
There's a little demo about that here: https://copilot.github.com/ It's "just" an autocompletion system basically, if you write something that looks like the beginning of a test it should understand that and try to autocomplete that.
I'd say it's more than 'just' an autocomplete system.
Naive autocomplete, as implemented in Excel since forever ago (and I'm sure long before that, I'm just familiar with being annoyed by Excel suggesting wrong entries from its simple and over-eager autocomplete system), merely matches a sequence of characters - if I typed "aut" again in this paragraph it will suggest "autocomplete" because I recently typed it. Implementing it is the kind of task you give to a first-year programming student to practice string matching data structures, similar to a spell checker that merely checks that a string exists in a dictionary. There's a spectrum from 'just' autocomplete, to a syntax-aware system like VS Intellicode, to this, and eventually beyond this. As mobile predictive text is to a spell checker, so Github Copilot is to autocomplete. As mobile predictive text is to GPT3 [1], so Github Copilot is to...what next? GPT3 is not just a spell checker. [1] Also by OpenAI: https://news.ycombinator.com/item?id=23345379
Great, a whole new way to automatically introduce bugs through code duplication.
From the examples:
body: text=${text}
`text` isn't properly encoded, what if it has a `=`?
rows, err := db.Query("SELECT category, COUNT(category), AVG(value) FROM tasks GROUP BY category")
if err != nil {
return nil, err
}
defer rows.Close()
shouldn't we want to cleanly `rows.Close()` even if there was an error?
float(value)
where `value` is a currency. Doesn't Python have a Decimal class for this?
create_table :shipping_addresses do |t|
that's an auto-generated table, that one's debatable but for starters a `zip` fields makes it American only. And doesn't the customer have an e-mail address instead of a shipping address?
var date1InMillis = date1.getTime();
But what about the time-zone offset?
I could go on, but literally the first five examples I looked at are buggy in some way. Edit:
We could get away with more user-friendly programming languages over the years because Moore's law kept giving us more opportunities to sacrifice raw performance for more developer-friendly tools.
But I'm worried these kinds of AI-assist tools will lead to "code spam" that may increase developer productivity even more, yet we no longer have Moore's law to absorb the additional inefficiency in performance these tools may introduce.
Comments (1,272) 260 threads
Earlier commentsThis kind of tooling is akin to the crossbow.
It will allow for less skilled folks to push out code that is like other code at great speed. A copy pasta accelerator if you will.
Continue this thread — 6 replies
Realistically, it just means that, rather than your coworker code-reviewing you and making a handful of comments, you get a machine to do that, and get two or so comments from your coworker about the business logic.
To answer your question: never.
There's a little demo about that here: https://copilot.github.com/
It's "just" an autocompletion system basically, if you write something that looks like the beginning of a test it should understand that and try to autocomplete that.
Naive autocomplete, as implemented in Excel since forever ago (and I'm sure long before that, I'm just familiar with being annoyed by Excel suggesting wrong entries from its simple and over-eager autocomplete system), merely matches a sequence of characters - if I typed "aut" again in this paragraph it will suggest "autocomplete" because I recently typed it. Implementing it is the kind of task you give to a first-year programming student to practice string matching data structures, similar to a spell checker that merely checks that a string exists in a dictionary.
There's a spectrum from 'just' autocomplete, to a syntax-aware system like VS Intellicode, to this, and eventually beyond this. As mobile predictive text is to a spell checker, so Github Copilot is to autocomplete. As mobile predictive text is to GPT3 [1], so Github Copilot is to...what next? GPT3 is not just a spell checker.
[1] Also by OpenAI: https://news.ycombinator.com/item?id=23345379
Here you go :)
From the examples:
`text` isn't properly encoded, what if it has a `=`? shouldn't we want to cleanly `rows.Close()` even if there was an error? where `value` is a currency. Doesn't Python have a Decimal class for this? that's an auto-generated table, that one's debatable but for starters a `zip` fields makes it American only. And doesn't the customer have an e-mail address instead of a shipping address? But what about the time-zone offset?I could go on, but literally the first five examples I looked at are buggy in some way.
Wow.Edit:
Edit 2:
Not exactly buggy, but 8 lines of tedium.What about
instead?Edit 3:
I mean, I get it, it's auto-generate code. Maybe in the future they can narrow it down to auto-generating good code. (or) (or) (or)But I'm worried these kinds of AI-assist tools will lead to "code spam" that may increase developer productivity even more, yet we no longer have Moore's law to absorb the additional inefficiency in performance these tools may introduce.
All comments shown.
Couldn't load more comments. Check your connection and try again.