←back to thread

203 points dahlia | 1 comments | | HN request time: 0.328s | source
Show context
yakshaving_jgt ◴[] No.45153163[source]
I've noticed that many programmers believe that parsing is some niche thing that the average programmer likely won't need to contend with, and that it's only applicable in a few specific low-level cases, in which you'll need to reach for a parser combinator library, etc.

But this is wrong. Programmers should be writing parsers all the time!

replies(4): >>45153317 #>>45153402 #>>45153520 #>>45153674 #
1. dkubb ◴[] No.45153402[source]
The three most common things I think about when coding are DAGs, State Machines and parsing. The latter two come up all the time in regexps which I probably write at least once a day, and I’m always thinking about state transitions and dependencies.