News for hackers. Stuff that matters.
Re:AI in software engineering at Google: Progress and the pa... by simonw on Friday June 07, 2024 @09:09AM (#40608398)
> Instead I have to specify that I want it to generate a unit test, use kotlin-test and kotest-assertions, and not use backticks for the function names (doesn't work with kotlin-js). Every time.

Have you experimented with GPTs much? I'd solve this problem by creating my own private "write a unit test" GPT that has my preferences configured in the system prompt.

Re:AI in software engineering at Google: Progress and the pa... by jillesvangurp on Friday June 07, 2024 @09:34AM (#40608557)
I ask many things in a typical day. Creating custom GPTs for everything that pops in my head is not very practical. It's workaround for the fact that it doesn't remember anything about previous chats and conversations.

In an IDE context a lot of this stuff should be solved in the UI, not by the end user.

Re:AI in software engineering at Google: Progress and the pa... by willsmith72 on Friday June 07, 2024 @09:50AM (#40608704)
you can fit a lot in 1 system prompt. i would instead put it all in the main system prompt, at least until openai comes up with a better ux
Re:AI in software engineering at Google: Progress and the pa... by calderwoodra on Friday June 07, 2024 @09:21AM (#40608463)
This, as well as system prompts could help you a bunch.