4 ms·
this is completely trivial in functional programming.
by rs86 8y ago
this is completely trivial in functional programming.
- phyzome 8y agoFellow (?) functional programmer here. I would generally use a recursive descent algorithm on a tree. That's the natural approach, yes? But the entire point of the article was that if you use a streaming approach you can get some performance benefits. I would say it's not totally trivial in most languages, and that it's slightly more extra work in functional languages.