News for hackers. Stuff that matters.
Re:Will humans write code in 2040? by didibus on Wednesday December 06, 2017 @10:54PM (#15867507)
I agree with you. That said, I can see how AI could be leveraged to generate implementation of highly precise specs. Code would probably evolve to be more about defining desired behavior, very formally, and AI could possibly build the implementation of it. I suspect this would be at the function level first, or unit, like maybe a set of data and a few functions over the data. You could describe clearly the expected behavior, in a formal language, and then AI could write a highly optimized implementation of it.

Now, would this be just as tedious? Would it make coding any faster? Dunno. Maybe the coding of the spec would be almost harder, and a bad spec would still result in bugs in the code.

Re:Will humans write code in 2040? by vadimberman on Wednesday December 06, 2017 @11:06PM (#15867555)
> I can see how AI could be leveraged to generate implementation of highly precise specs

Interesting idea - maybe as a draft.

But keep in mind that people have been chasing this target for decades. SQL was supposed to be a language so close to English that business people could use it. Wizards and templates were supposed to eliminate the need for hand-coding. 10 years ago I was advised to learn UML or prepare for extinction.

All they've achieved is the explosion in the number of programmers.