The most basic answer is that you should almost never represent expressions as strings. Unless you are trying to write an interpreter, there is almost always a better way to solve the problem.
The most basic answer is that you should almost never represent expressions as strings. Unless you are trying to write an interpreter, there is almost always a better way to solve the problem.