Hacker News new | ask | show | jobs
by mportela 533 days ago
Hmm, concatenation and alternation are exactly what I thought of when reading the work "composition" (I probably had functional programming in mind).

I'm curious. What came to your mind for "composition"?

1 comments

I already said it: what does the phrase "composition over inheritance" mean?

> probably had functional programming in mind

Then you should have no trouble recognizing that there is no analog to `f . g . h` for regexes.