3 ms·
Is calling '*' "Kleene_Star" a marked improvement? The hard part of regular expressions is envisioning the languages they accept. It's not primarily a difficul
by brudgers 12y ago
Is calling '*' "Kleene_Star" a marked improvement?
The hard part of regular expressions is envisioning the languages they accept. It's not primarily a difficulty with notation as with the concepts the notation encodes.
- Vektorweg 12y agoThe * or Kleene star describes a sequence of values from a specific set. A nice function name would be "many", like in Haskell's Parsec. In comparison between *, "Kleene_Star" and "many" is the meaning of the function, when named "many", is easy to imply without consulting the docs.