The difference is that a high-level programming language abstracts away the duplication, whereas an LLM does not.