Re:Programmers are bad at managing state (2020)
by jonstewart on Monday March 25, 2024 @07:20AM
(#39814837)
Regex with callbacks? Congrats, you’ve reinvented lex.
[ Parent
| on HN ]
Re:Programmers are bad at managing state (2020)
by rhelz on Tuesday March 26, 2024 @10:44AM
(#39828570)
Wow, you are right. The first sentence of the abstract of Lesk & Schmidt's paper:
"Lex helps write programs whose control flow is directed by instances of regular expressions in the input stream."
Exactly what I was talking about. There's no reason to suck at state management, guys....