| ▲ | perrygeo 3 days ago | |
This article is more about how to get LLMs to adhere to existing definitions. I was hoping this would explore some re-definitions of "clean code". DRY is a principle that comes up frequently. But is repetition really that bad when LLMs can trivially edit all instances of the pattern and keep them in sync? LLMs, by contrast, cannot understand a leaky abstraction - the typical result when you hastily apply DRY. So "clean code" in a era of LLMs might be mean more explicit and repetitive, less abstract. | ||