In the early days of Scala people went wild writing DSLs. Most of these have lost popularity as we've realised this style of code doesn't deliver value outside of niche domains. I think ScalaTest is only library in common use that still uses this style.
-
-
Replying to @noelwelsh
It was definitely a wild ride. I never really liked the "wordy" style, but operator precedence in symbolic DSLs was an enabler for some quite intuitive DSLs which were able to avoid a lot of parentheses. That said, they're still super niche.
1 reply 0 retweets 3 likes -
Replying to @propensive
The main problem with symbolic DSLs in Scala, IMO, is that discoverability is really poor. You often have to chase a lot of implicits to find what you want.
1 reply 0 retweets 9 likes
I hope that discoverability will be better with the improved tooling (and lessee need for implicits) we're getting, but I'd probably say that symbolic DSLs like parser combinators really need to be *taught* rather than discovered. Not always how it happens, though...
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.