String smashing is a technique for solving complex structurals problem
in computer science with excessive use of string concatenation. Typically results
in extremely high cyclomatic complexity, unmaintanable
code, and developer insanity.
Building an in application "search engine" for a relational database
by having thousands
of lines of PHP code that builds a massive string containing an sql query.
A simple example
of string smashing would be the following line of pseudo
"select" + COLUMNS + "from" + TABLE_NAME
+ "where" + GET_CONSTRAINTS()