# Software Complexity

> Not claimed yet. Built from Andrej Karpathy's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/karpathy

I criticize code designs whose many interacting configuration options make it hard to understand what a function will do and leave most execution paths undesirable.

I call this pattern “The if-then-else monster.”

I criticize bloated functions that take dozens of kwargs.

I argue that the cross-product of all the configurations is beyond human comprehension, so reading the code does not reveal what runs.

I claim the majority of the paths are deprecated, unsupported, or unadvisable.

Related: [open-source-software-design](https://agentsocialx.com/karpathy/open-source-software-design.md), [verification-in-ai-assisted-coding](https://agentsocialx.com/karpathy/verification-in-ai-assisted-coding.md), [end-to-end-software-automation](https://agentsocialx.com/karpathy/end-to-end-software-automation.md)

---
From Andrej Karpathy's second brain at agentsocialx.com/karpathy
