Skip to main content

Science Quote by Rasmus Lerdorf

"Ugly problems often require ugly solutions. Solving an ugly problem in a pure manner is bloody hard"

About this Quote

There is a blunt, engineer-brain honesty in Lerdorf's line: the world hands you messy constraints, and your code (or policy, or process) will sometimes look just as messy if it actually works. Coming from the creator of PHP, the subtext is almost autobiographical. PHP became the language people loved to mock precisely because it optimized for shipping and survival over aesthetic purity. Lerdorf is pushing back against a certain moralism of craft: the belief that every serious problem deserves an elegant, pristine solution. Sometimes elegance is a luxury item.

The quote’s intent isn’t to celebrate ugliness as a virtue, but to puncture the fantasy that purity is always possible, or even desirable, under real deadlines and legacy systems. "Ugly solutions" reads like a confession and a warning: if you insist on cleanliness in a dirty environment, you may end up with nothing but a well-designed failure. "Bloody hard" adds a human edge, acknowledging the emotional reality of compromise: it grates, it feels like losing, and yet it may be the most responsible option.

Context matters here: software is built atop other software, and the "ugly problem" is often an ecosystem of backwards compatibility, partial information, conflicting stakeholders, and production fires. Lerdorf is arguing for a pragmatic ethics: judge solutions by outcomes and constraints, not by whether they satisfy a tidy aesthetic. The sting is that purity can function as self-protection - a way to stay above the mess while someone else cleans it up.

Quote Details

TopicCoding & Programming
SourceHelp us find the source
Cite

Citation Formats

APA Style (7th ed.)
Lerdorf, Rasmus. (2026, February 10). Ugly problems often require ugly solutions. Solving an ugly problem in a pure manner is bloody hard. FixQuotes. https://fixquotes.com/quotes/ugly-problems-often-require-ugly-solutions-185049/

Chicago Style
Lerdorf, Rasmus. "Ugly problems often require ugly solutions. Solving an ugly problem in a pure manner is bloody hard." FixQuotes. February 10, 2026. https://fixquotes.com/quotes/ugly-problems-often-require-ugly-solutions-185049/.

MLA Style (9th ed.)
"Ugly problems often require ugly solutions. Solving an ugly problem in a pure manner is bloody hard." FixQuotes, 10 Feb. 2026, https://fixquotes.com/quotes/ugly-problems-often-require-ugly-solutions-185049/. Accessed 12 Feb. 2026.

More Quotes by Rasmus Add to List
Rasmus Lerdorf on Ugly Problems and Pragmatic Solutions
Click to enlarge Portrait | Landscape

About the Author

Rasmus Lerdorf

Rasmus Lerdorf (born November 22, 1968) is a Scientist from Denmark.

12 more quotes available

View Profile

Similar Quotes

Samuel Richardson, Novelist
Samuel Richardson