5 ms·
If the "right way" leads to - Wasting your time and your company's time. - More complex code which is harder to maintain in the long term. did it ever deserv
by stagger87 5y ago
If the "right way" leads to
- Wasting your time and your company's time.
- More complex code which is harder to maintain in the long term.
did it ever deserve to be called the "right way"?
- dan-robertson 5y agoWell I think this code is harder to maintain in the long term than a proper parser. For example you may want foo"bar"baz to parse as two symbols and a string, or (a.b) as a cons. It also looks scary to me because I need to think a bit to be convinced that it works. But looking at code for a parser is surely hard too, and I don’t think any of those are strong enough arguments not to use the code above.
- nomel 5y agoTo me the "right way" is that it's not technical debt that will self destruct in the near future. If it will in the far future, a comment with an explanation for that future person is plenty.