Re:JavaScript Fatigue: Realities of our industry (2017)
by antt on Saturday March 09, 2019 @10:46PM
(#19350053)
There's a slight difference between extracting a few tags from an xml file and building an manipulable ast of it.
[ Parent
| on HN ]
Re:JavaScript Fatigue: Realities of our industry (2017)
by TeMPOraL on Sunday March 10, 2019 @04:17AM
(#19350963)
There is, but if your problem requires just the former, it's faster and better to build it yourself than to pull in a heavy third-party dependency (of which you'll use 1% anyway).
Re:JavaScript Fatigue: Realities of our industry (2017)
by antt on Sunday March 10, 2019 @06:30AM
(#19351336)
Yes but if it requires the latter you end up with an uncontrollable mess of regular expressions which can accidentally parse the language needed to summon the great elder ones.
The media wiki parser is a perfect example of what can go wrong with simple solutions.