· @DiazCarrete
27 followers · 237 posts · Server hachyderm.io

Examples of binary choices where both options seem equally good at first, but really aren't:

When writing parsers using , consuming trailing whitespace is better than consuming leading whitespace. "Design patterns for parser combinators" dl.acm.org/doi/abs/10.1145/347

When writing , clearing the database before each test is better than clearing it after. "Dangling state is your friend" docs.cypress.io/guides/referen

#parser #combinators #e2e #tests

Last updated 1 year ago

lorddimwit · @lorddimwit
320 followers · 1278 posts · Server mastodon.social

I told that teachin’ lady, the only I need are S, K, and I!

#combinators

Last updated 2 years ago

Jonn · @jonn
150 followers · 2933 posts · Server social.doma.dev

@tapani the only thing I would have done differently if I was writing it today, I'd use for github.com/manpages/py-ken/blo, moved program entry point to `main.py` and removed all the dead WIP code like `solver.py`.

#combinators #parser

Last updated 4 years ago