News for hackers. Stuff that matters.
Re:GitHub Copilot by fossuser on Tuesday June 29, 2021 @02:07PM (#27679557)
People have made some variation of this argument since the move from writing binary to writing assembly.

With every new layer of abstraction there’s more power.

The long term benefit of a tool that can do this well far exceeds what humans can do by hand, but that may not be true in the very short term.

Either way, I suspect the benefits to be big.

Re:GitHub Copilot by uticus on Tuesday June 29, 2021 @02:18PM (#27679680)
I disagree with the comparison. This isn't abstraction, it is syntax completion. As if you typed the first four bytes and GitHub (mostly correctly it must be mentioned!) completed the remaining.

Unlike an additional abstraction layer, the readibility is not increased.

Re:GitHub Copilot by fossuser on Tuesday June 29, 2021 @02:33PM (#27679883)
The end goal of this based on what I've seen from Open AI examples and related beta projects is more high level language -> code.

"Write a standard sign up page" -> Generated HTML

"Write a unit test to test for X" -> Unit Test.

It's more than just syntax completion - I'd argue that's the beginning of a new layer of abstraction similar to previous new abstraction layers. The demo on their main page is more than syntax completion - it writes a method to check for positive sentiment automatically using a web service based on standard english.

This is extremely powerful and it's still super early.

I saw one example that converted english phrases into bash commands, "Search all text files for the word X" -> the correct grep command.

That is a big deal for giving massive leverage to people writing software and using tools. We'll be able to learn way faster with that kind of AI assisted feedback loop.

Similarly to compilers, the end result can also be better than what humans can do eventually because the AI can optimize things humans can't easily, by training for performance. Often the optimal layout can be weird.

Re:GitHub Copilot by goodpoint on Tuesday June 29, 2021 @03:27PM (#27680606)
Not at all: this tool does not encourage more powerful abstractions, but the very opposite.

It makes boilerplate cheaper to churn out.