lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Mon, Jan 30, 2012 at 00:40, Patrick Rapin <> wrote:
>> What language is most likely to encourage good commenting ( What is being done and why ? )  and make the code easier to support by a future maintainer  ?
>> Or is this just not something that is influenced by the language......
> Personally, I only write extensive comments in Assembly language, and
> for complex Perl regular expressions...
> Because otherwise, I cannot read back my own code.
> IMHO, Lua does not encourage good commenting, because the language is
> already quite clean.
> It is easier to maintain uncommented Lua code than a well commented
> one in assembly language !

True, ideally your code would be so clear and readable that comments
aren't even necessary, but I think that may never be a reality until
computers can understand natural language...

Sent from my toaster.