Skip to content

Comment on RegExpBuilder – Create regular expressions using chained methodsparent

Comments

Recursive descend is imperative, while regex is declarative.

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

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

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.