loading...

Discussion on: Parenthetically Speaking

Collapse
tbodt profile image
tbodt

Back in the day, before paren matchers were a thing, people would stare at their Lisp code, carefully counting: 1, 2, 3, 2, 3, 2, 1, 0 for ((()())). If you didn't end up with zero, there was a problem somewhere.

Collapse
yechielk profile image
Yechiel Kalmenson Author

Yup, that's what my algorithm basically does :)