2 ms·
That's unkind, and doesn't really address the nature of the problem at hand. What's the name for the "I don't want to use a sledgehammer to solve a problem tha
by rerdavies 3y ago
That's unkind, and doesn't really address the nature of the problem at hand.
What's the name for the "I don't want to use a sledgehammer to solve a problem that should be solvable with a screwdriver" problem?
Or in this case, the "spinning up 300 lines of code to integrate an XML parser vs. a dozen lines of code based on regexes" problem. For reasons that are unclear to me, XML parser libraries tend to be painfully difficult to use (speaking from personal experience with 4 different XML parser libraries).
I don't think it's a surprise to anyone involved that an XML parser is going to solve the problem.