From: Oliver Bandel <oliver@first.in-berlin.de>
To: caml-list@inria.fr
Subject: Re: [Caml-list] multiple inheritance, bug or feature ?
Date: Sat, 25 Feb 2006 12:55:31 +0100 [thread overview]
Message-ID: <20060225115531.GB460@first.in-berlin.de> (raw)
In-Reply-To: <20060225.204422.95892422.garrigue@math.nagoya-u.ac.jp>
On Sat, Feb 25, 2006 at 08:44:22PM +0900, Jacques Garrigue wrote:
[...]
> I'm also wondering whether this is really necessary to have a warning
> for overriding through inheritance. If overriding was intentional, then
> the warning is pointless. Do you see situations where one could end up
> doing this unintentionally?
Every warning that a compiler can throw makes sense for someone
who might need this.
Is this warning possible to turn off? Then you could do it.
But I prefer as default have more warnings, not less.
Well, OO should help to have less copy&pasted code, but some things
might be done in this way.
A warning on the overridden methods IMHO make sense.
Ciao,
Oliver
next prev parent reply other threads:[~2006-02-25 11:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-25 11:01 sejourne_kevin
2006-02-25 11:44 ` [Caml-list] " Jacques Garrigue
2006-02-25 11:55 ` Oliver Bandel [this message]
2006-02-25 11:48 ` Oliver Bandel
2006-02-25 12:09 ` sejourne_kevin
2006-02-25 12:16 ` Oliver Bandel
2006-02-25 12:33 ` Oliver Bandel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060225115531.GB460@first.in-berlin.de \
--to=oliver@first.in-berlin.de \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox