3 ms·
How would your method subtract "lo" from "Hello" and leave "Hel" instead of "He"? It gets complicated enough that I think you'd be re-implementing a more limite
by Nadya 11y ago
How would your method subtract "lo" from "Hello" and leave "Hel" instead of "He"? It gets complicated enough that I think you'd be re-implementing a more limited version of regex.
Also I was speaking in context of Javascript so I fail to see how this applies.
- kyllo 11y agoMore of a general observation about how arbitrary the type juggling rules and operator overloadings in programming languages are.