A brute force solution that works is better than an elegant solution that doesn't work.
Steve McConnell (2004). “Code Complete”, p.107, Pearson Education

A brute force solution that works is better than an elegant solution that doesn't work.