logo       

Re: Contracts (feature request): msg#00496

lang.scala

Subject: Re: Contracts (feature request)

Raphael, thanks for an exhaustive reply.

I'm also a fan of TDD, even though I don't have much experience with it yet. Neither do I have practical experience with a language that has direct support for contracts (I've seen some Eiffel code though).
It really may be so that in practice (at least when using TDD), contracts are only a hindrance.
The first post of mine was a suggestion/inquiry to hear from experienced programmers whether they are useful (in Scala). I had the nerve to ask, because contracts are implemented also in another modern language, D, and personally in some cases I really would like to use them. But I'm myself just a CS student (for last year), so my view on these things may be somewhat (a lot?) twisted. Namely contract programming has been emphasized from the beginning.

Rehersal was a new thing for me, have to explore it someday!

- Henrik




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise