8 ms·
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
by jlei523 1y 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 1y agoI can prompt anything but I would prefer it not to make obvious mistakes from the start.
- jlei523 1y ago"Use DRY coding". 3 words can solve this problem. Maybe put it in the parent prompt.