Hacker News new | ask | show | jobs
by DenisM 4139 days ago
Recursive descend is imperative, while regex is declarative.

Regex may be ugly, but you lose something important when you move from declarative to imperative.

2 comments

"Recursive descent" has that name precisely because it is not the only parsing alternative, hence we can not simply call it "parsing".