A brute force solution that works is better than an elegant solution that doesn't work.
McConnell, Steve. Code Complete. 2nd ed., Microsoft Press, 2004, p. 73.
Sourced by: Quote.org sourced
Steven C. McConnell is an author of software engineering textbooks such as Code Complete, Rapid Development, and Software Estimation. He is cited as an expert in software engineering and project management.