2 ms·
> I like to be able to have an assertion that > goes "myVal should contain("A")", and that > be valid ScalaTest code, with very good error > hand
by sagichmal 12y ago
> I like to be able to have an assertion that
> goes "myVal should contain("A")", and that
> be valid ScalaTest code, with very good error
> handling, but I see how others can disagree.
This is so clearly a false economy! What you gain there in expressiveness you lose tenfold in ambiguity — and not just in that line, but in the latticework of exceptions you now have to keep suspended in your mind as you read every other line of code. It just doesn't make sense to me that you'd prefer things that way.