Browse thread
warning on value shadowing
[
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: | Sam Steingold <sds@g...> |
| Subject: | Re: [Caml-list] Re: warning on value shadowing |
> * skaller <fxnyyre@hfref.fbheprsbetr.arg> [2007-02-24 14:31:45 +1100]: > > On Fri, 2007-02-23 at 15:51 -0500, Sam Steingold wrote: >> Jacques Garrigue wrote: > >> > The first one is clearly overkill: if nobody uses zot, then who cares? >> >> you are not using it NOW, but you might in the future, at which point >> you will all of a sudden have to refactor your code to avoid the >> warning. I would rather see the shadowing warning the moment I add "open >> Foo" for the first time. > > Once perhaps. After that you'd be demanding a way to turn it off > for that case. of course, there must be a way to clearly specify that I expect Foo.bar to shadow Zot.bar so that I will not be bothered zbout bar again. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod) http://memri.org http://ffii.org http://pmw.org.il http://camera.org http://palestinefacts.org http://dhimmi.com http://israelunderattack.slide.com nobody's life, liberty or property are safe while the legislature is in session