4 ms·
Regex is a high-level domain-specific language. So in this analogy, it is the tedious substring-comparisons in imperative code which is the equivalent to low-le
by bazoom42 2y ago
Regex is a high-level domain-specific language. So in this analogy, it is the tedious substring-comparisons in imperative code which is the equivalent to low-level assembler.
Using the right level of abstraction for the problem at hand is key to readability.