📝LLMs work better with explicit/verbose code

source

Christensen2024

LLMs work better with explicit/verbose code as they need to fit less in their context. e.g., LLMs are quite well handling inlined code with many levels of conditional and loops. Refactored code and splitting it into many helper functions might be harder for LLMs to work with as they need to “remember” all the functions, what they do, and how to use them.

Backlinks