Hi guys, As far as I'm concerned, I'm not in favor of having this mandatory for every lib procs/funcs/... I can remember we discussed this in the past, something similar to javadoc, but it's been discarded (can't remember the exact reason, probably something about "too much contrains").
About editing other's files, you unfortunately have a point, this makes this impossible, strictly speaking, due to few laggards here. Even if possible, will you add documentation on every other's code ? I won't... Let's also remember two things: - documentation about code is dead: it has to be synchronized with the code at each changes, whereas code is alive because compiled and used. A mistake is easily done, this doesn't mean we shouldn't document, this means it's quite hard to have a nice documentation in the long term. - some procs/func/... don't need documentation, or comments: don't document this obvious. So: having this mandatory seems not a good idea to me. If you want to have a standard format to use it in IDE, you should talk about this to IDE guys, too (or they should chime in, Sunish ?) Cheers, Seb 2011/11/30 mattschinkel <[email protected]> > > I fully agree with your proposal to have an 'intro' or 'preamble' > > mandatory for every procedure and function. I would suggest to have > > 'Arguments' and 'Returns' also mandatory, but have 'none' when not > > applicable. > > Doesn't matter to me, but I assume jallib validator can check weather > it is a function and has a return value. > > Sorry Seb, I think I may be making more work for you. I'll open an > Issue soon if nobody here disagrees with the suggestion. > > I suggest we don't put this on buildbot as everything will fail, but > maybe add it to a jallib.py so everyone uses it locally. > > We can discuss modifying every lib, but what do we do about people > that dislike having their files edited? > > Matt. > > -- > You received this message because you are subscribed to the Google Groups > "jallib" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/jallib?hl=en. > > -- Sébastien Lelong -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
