Viewing a single comment thread. View all comments

zendogsit OP t1_j52wzj5 wrote

Definitely a good thought bouncer, have you noticed much quirkiness in the code that it outputs?

3

Frumpagumpus t1_j53b5ri wrote

one example is when i asked it to produce javascript that creates an html table, but uses the keys of a json object as table headers, it wrote some code that did all of that then stuck all the value in the first two columns. (still saved me some time anyway or, interestingly from having to use a library)

one funny thing is, with more well known languages like javascript, it seems like it never writes code that doesn't execute, it just doesn't seem to make syntax errors at all, if you asked me to write equivalent amounts i would write tons of syntax errors.

with less well known languages it makes up api calls.

it recognizes when you can use recursion to simplify things pretty well (e.g. in the json -> html table example it wrote a recursive solution), but i find goading it into doing like sub sub queries to be very difficult (for things like an sql query that joins a table to itself, select some columns, then accesses some json property, it would have difficulty doing all of that from my bad descriptions anyway)

1