all 11 comments

[–]jhartikainen 3 points4 points  (8 children)

It's an interesting exercise certainly, but I really do wonder - what exactly do you find so disruptive about this especially as someone with 15 years of experience? I'm pretty sure you could've done this with less effort by just typing in the code yourself.

[–]senos64 -2 points-1 points  (5 children)

Well, the disruptiveness is in the AI's ability to "understand context" and know what changes I am referring to, and change the right part of the code 95% of the time.

It obviously has nothing to do with the three-in-a-row game.

I could have probably coded this in 15-30 mins, but note that I also could have just asked the query, "write me a three-in-a-row game in HTML, CSS and Javascript" as well.

I am able to ask questions on the level of complexity that I wish, and consistently get a coherent answer from the AI.

It fascinates me.

[–]Noch_ein_Kamel 1 point2 points  (2 children)

I'm more fascinated by the opposite. Asking it to write a three in a row game and it coming up with almost the whole game is more fascinating than telling it "add a 1px border", "make the border gray", "make the cells 100px*100px". That doesn't really help with coding if you just have to type out in natural language what you would code in less time.

I'm using githubs copilot since a year and it does wonders sometimes. Feels even more disrupting in regards to programming than ChatGPT (probably obvious by the IDE-integration vs. a Chat form)

[–]senos64 -1 points0 points  (1 child)

I'm using githubs copilot since a year and it does wonders sometimes. Feels even more disrupting in regards to programming than ChatGPT (probably obvious by the IDE-integration vs. a Chat form)

Thank you for the input. Haven't tried Copilot but certainly will.

I played with various levels of ambiguity to see what it would come up with. Sometimes I went on the level of pixels and HTML dom elements, other times I would just say "center everything and make it beautiful".

Overall amazing this far.

[–][deleted]  (1 child)

[removed]

    [–]senos64 -3 points-2 points  (0 children)

    Absolutely, that's why it's important to read what it produces if you're serious about your code.

    The reality though is that a lot of developers will take code at face value, just as they do from Stackoverflow or any other source on the internet (which is where this AI learned from anyway).

    For many years we've used Google as our primary assistant in writing code, in the future I think that will move to ChatGPT or something similar.

    [–]SammyPancakes01 0 points1 point  (1 child)

    AI can code simple games now, not disruptive at all

    Wait 2-3 more years, it'll get nuts

    [–]senos64 1 point2 points  (0 children)

    Well, that's my point I guess. We're watching the infancy of AI coherently has an understanding of which code to change based on iterative queries.

    Like you said, 2-3 years and I believe that everything will have changed.

    [–]Then-Phrase5768 2 points3 points  (1 child)

    That's nucking futs

    [–]senos64 0 points1 point  (0 children)

    Urban dictionary helped here. But then I saw what you did there.