| Markus 2007-07-31, 10:07 pm |
|
> Cesar Rabak <csrabak@yahoo.com.br> writes:
>
>
> You have mis-read the sentence. The sentence says that one does
> pattern matching for more reasons than just performance. While you
> are reading it as a "less than" proposition. That is, you are reading
> the sentence as saying one wants more than performance out of pattern
> matching, thus the performance of pattern matching must not be
> important. However, you are neglecting to see that something else
> (leveraging the static type system to assure correctness by compiler
> verification) is the more important reason and performance is just an
> additional benefit. Since you have no interest in the correctness
> advantages of a static type system, it is not surprising you missed
> that benefit--it is not a benefit for you.
Yes, that pretty much summarizes the point I wanted to make, but
unfortunately spoils the learning effect by giving the answer to "what
else could be important?" away. :-)
Regards -- Markus
|