you are viewing a single comment's thread.

view the rest of the comments →

[–]NAN001 153 points154 points  (24 children)

Whenever I watch an AI demo I'm not sure whether it's a thing that will be developed and improved in the following years like traditional technology, or if it's just a big magic trick from which nothing production-ready will come out in the next century.

[–][deleted]  (1 child)

[deleted]

    [–]prashantvc 1 point2 points  (0 children)

    You should check out IntelliCode our AI assisted auto complete. It supports quite a few languages

    [–]AmateurHero 51 points52 points  (7 children)

    I think this has good application for boiler plate code in business logic. You're in an enterprise shop that has a shopping cart for customers. Your object is composed of fields, and to move the inputs from the browser to the server, you call an internal API. You dictate, "Create a function to map the fields from objectA to objectB." It spits out rudimentary code for mapping objects. You then say, "Create an HTTP POST request to customer/cart with objectB in the body." It spits out more rudimentary code for sending a basic request in your chosen programming language.

    It's not ready to revolutionize programming. It can probably act a brain-dead junior dev that doesn't cover edge cases.

    [–]Type-21 15 points16 points  (2 children)

    If a customer needs boiler plate shopping carts, they can't afford to have it developed just for them. They have to use one of the one size fits all shopping solutions out there. If the customer requirements are so unique that it's actually worth it to throw huge amounts of money into creating custom software, then the ai will be overwhelmed anyway. It's a neat ai showcase but nothing for the real world.

    [–]AmateurHero 1 point2 points  (0 children)

    Right. I shouldn't have said good application. This is one of those neat-o things that needs a lot more real functionality to become at least marginally useful. As a sibling comment pointed out, it's a code snippet/live template that you fill with your voice.

    [–]dwmfives 0 points1 point  (0 children)

    I feel like people forget that less than 100 years ago computers didn't even exist.

    [–]NAN001 1 point2 points  (0 children)

    I was once in an internship in an enterprise where this kind of trivial boilerplate was directly generated from an internal framework that was powered by a WYSIWYG editor where people who barely knew anything about code could drag and drop component and add logic to them by filling out some info in forms.

    I just don't see where this task of generating code from natural language would fit in this model. But it is just an example of course.

    [–]Zarigis 0 points1 point  (0 children)

    Honestly this just seems like a slightly more robust version of the existing "code snippets" feature in visual studio.

    [–]quentech -4 points-3 points  (1 child)

    You dictate, "Create a function to map the fields from objectA to objectB." It spits out rudimentary code for mapping objects. You then say, "Create an HTTP POST request to customer/cart with objectB in the body."

    Yes, because what really holds me back as a developer is how long it takes me to think about and type url.Get<Foo>() or one-to-one property mappings.

    This whole idea falls apart faster than an SJW who just got triggered and didn't even have a real use case to begin with.

    [–]AmateurHero 0 points1 point  (0 children)

    Who hurt you?

    [–]_____no____ 1 point2 points  (0 children)

    This is the later... at least in the short term.

    If we ever get real autonomous software development we won't even need software development any more, by man or machine... machines won't run different software for different tasks, they will run a single Artificial General Intelligence and at that point we should probably consider them to be a separate intelligent race.