[Sc-devel] [3.2] suggestion: compiler directive for class library
James Harkins
jamshark70 at gmail.com
Wed Nov 21 13:49:27 PST 2007
On Nov 21, 2007 1:00 PM, felix <felix at crucial-systems.com> wrote:
> What if you just mispelled the classname ? you would expect the
> compiler to fail so you could figure out why.
Well, I don't really want to fight about it, but I would point out
that this is a rather silly objection. Presumably you would catch
class name misspellings as part of the development process, and
someone who disables warnings for new code that she hasn't even tried
to compile yet would deserve every moment of (self-induced) confusion
that follows.
The directive would be properly used ONLY for tested code that is
being released to others.
But I do see a problem there too, in that someone could try modifying
your extensions incorrectly without removing the directive.
Anyway, it's moot, making another quark is the right way to do it and
I shall comply :)
hjh
--
James Harkins /// dewdrop world
jamshark70 at dewdrop-world.net
http://www.dewdrop-world.net
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman
More information about the Sc-devel
mailing list