News for hackers. Stuff that matters.
Re:I'm puzzled how anyone trusts ChatGPT for code by matsemann on Wednesday May 08, 2024 @05:58PM (#40303125)
I made that as a joke in javascript 8 years ago. Not using LLM, but using javascript proxies so that if a function doesn't exist it tries to implement it runtime based on the name of the function using a sql like grammar. I really hope to not see something like that in real use, heh.

https://github.com/Matsemann/Declaraoids

Maybe I should make a LLM version of this.

Re:I'm puzzled how anyone trusts ChatGPT for code by LegionMammal978 on Wednesday May 08, 2024 @06:15PM (#40303274)
The funny part is, Spring Data JPA has a quite serious take on this, in the form of query methods [0]. You create a repository interface with certain method names, and it dynamically creates an implementation that queries the columns of the underlying table, according to the name of the method.

[0] https://docs.spring.io/spring-data/jpa/reference/jpa/query-m...