[nem-en] loving Nemerle
Sean L. Palmer
seanpalmer at verizon.net
Fri Oct 28 05:35:12 CEST 2005
d wrote:
>On Thu, Oct 27, 2005 at 06:42:53PM +0200, Kamil Skalski wrote:
>
>
> This would be great. Actually IMO such a thing should be enabled by
>default. The more the compiler cares about, the better. If some of the
>work can be taken care of by the machine, let's shift the burden to it!
> This issue is similar in philosophy to static typing - sure the
>programmer can take care of types themself, but people make mistakes
>and if those can be detected by the compiler, it only makes for better
>code and time savings. Why not employ this strategy in the case of coding
>conventions, which are actually *very* important (at least to the human
>part of the software creation process).
> IMO it would be a good idea to make it ncc's deafault behaviour, to
>check that the programmer sticks to a certain style/formatting
>convention. He would be able to provide an explicit style description,
>use a "predefined" style (such as ncc-style for example) or perhaps
>it could be detected "on the fly" and consistency checked in the rest
>of the source code.
> You say, that this would be limiting.. The option could always be
>disabled, but I think, it's use should be encouraged. Developers
>could then accept only "validated" code from others (anyone in the case
>of open-source, or their employees in a work setting).
> I totally believe the programmer should be restricted to doing only what
>they are supposed to. And the more can be forced on compiler level, the
>better.
>
>d
>
>
Installing a new translator/preprocessor that converted everything
between the official source repository format (what the compiler
understands) and each user's preferred working layout, seems much easier
than retraining all of your personnel and forcing everyone to constantly
go through the formatting enforcer. Nobody can possibly agree on
formatting, it's hopeless. You can't change the world, but you can make
your life easier. You folks would add yet another hassle to the daily
bombardment we already get? Let's just agree to disagree on formatting,
and make it work anyway.
Let me put this another way. FORMATTING IS UNIMPORTANT. It should be
IGNORED, not enforced.
Sean
More information about the devel-en
mailing list