Browse thread
Annoying behaviour of OCaml
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | David Thomas <david_hd@y...> |
| Subject: | Re: [Caml-list] Annoying behaviour of OCaml |
--- Oliver Bandel <oliver@first.in-berlin.de> wrote:
> Even if this would be the case, not what we expect
> is of importance, but what the documentation says.
> If there's a difference between documentation and
> bahaviour, then there is a bug (in the
documentation,
> or in the implementation, or both).
I disagree that expectations are of no importance.
Principle of least surprise and all that... Violation
of expectations is a bug not in documentation or
implementation, but design. That said, there may very
well be overriding concerns that force us to introduce
behavior contrary to expectations in certain instances
- it's one guideline of many.
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping