Remix.run Logo
jlei523 5 days ago

  Also I wanted to add that LLMs (at least free ones) are pretty dumb sometimes and do not notice obvious thing. For example, when writing tests they generate lot of duplicated code and do not move it into a helper function, or do not combine tests using parametrization. I have to do it manually every time.
Do you prompt it to reduce duplicated code?
codedokode 5 days ago | parent [-]

I can prompt anything but I would prefer it not to make obvious mistakes from the start.

jlei523 5 days ago | parent [-]

"Use DRY coding". 3 words can solve this problem. Maybe put it in the parent prompt.