[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: draft minutes from the sming interim:
>>>>> David T Perkins writes:
David> On the question of comments, I believe the ASN.1 style is
David> horrible and should be changed.
Dave, it would be helpful if you make concrete proposals to what
it should change.
David> Also needed are directives to compilers, such as that performed
David> by #if/#ifdef to comment out sections of code.
#if/#ifdef are preprocessor symbols. You can already run your MIBs
through cpp if you like. The rationaly of not using # as a comment
character in SMIv3 was to not conflict with common preprocessor
notations. In other words, I doubt there is much to do here.
David> Likewise, directives to help tell the compilers about checking.
With smilint, I never really felt a need for it. The only reason I can
see would be to flag certain situations where you know the compiler
will complain but which you can't fix for e.g. backward compatibility.
But even these cases are IMHO rare and there are other simpler ways to
handle this (e.g. put a comment that into the document which explains
the situation).
/js
--
Juergen Schoenwaelder <http://www.informatik.uni-osnabrueck.de/schoenw/>