PDA

View Full Version : I Guess this is how we replace the junior Programmers?



Michael Mullan
21-May-2020, 09:38 AM
https://youtu.be/fZSFNUT6iY8

:-)

It is a little freaky to watch though... (it IS safe for work though)

Dennis Piccioni
21-May-2020, 09:47 AM
Pretty cool! Just before he talked about unit tests, I thought "this would be good for writing unit tests".

Focus
21-May-2020, 10:20 AM
I suspect it helps quite a bit that the word palindrome only has one definition ...

Garret Mott
21-May-2020, 10:34 AM
"We used Microsoft's super computers to"....

DaveR
21-May-2020, 01:10 PM
finally we can retire....

Michael Mullan
21-May-2020, 02:13 PM
yeah, well, they only used the supercomputer to TRAIN the AI, the code that generates the results is really running on the local PC.

I'd be happy if the studio could read a method declaration, and finish out the basic shell, and add forward send/get lines if the method is defined in the superclass.

/MM

Marco
22-May-2020, 01:17 AM
I think this is code that should be in a library anyway. Nobody should write this kind of code manually more than once in their lifetime, right?!?

Michael Mullan
22-May-2020, 06:15 AM
Maybe not this particular example, but we all write repetitive wrappers and placeholders in code, all the stuff to get the values from the entry forms to make the filters for a report. I'd love to have a tool that wrote those kind of connectors.

DF is a VERY verbose language, and I'm sure there are thousands of methods that repeat all through the code base with only very minor variations. That code you wrote to convert BasicReports into VPF (or was it List&Label?) is very much in the same vein as this, they've just made it more generic.

Also way to many stories of people changing 'one liner' public libraries and breaking a million application (https://qz.com/646467/how-one-programmer-broke-the-internet-by-deleting-a-tiny-piece-of-code/)s.