[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Suggestion: Lua 5.3 -- Named Return Values
- From: Stéphane Aulery <lkppo@...>
- Date: Wed, 20 Nov 2013 16:35:35 +0100 (CET)
> De: steve donovan <firstname.lastname@example.org>
> Envoyé: Wed, 20 Nov 2013 15:54:52 +0100 (CET)
> It is totally possible to teach IDE's to understand doc comments -
> this is the approach actually taken by the Eclipse Lua plugin. LDoc
> syntax is different from theirs (pity) but the pay-off to writing
> careful doc comments is that you get a better IDE experience.
Maybe, but this is not standardized and included in the language as well as the names of function arguments,
which are also positional. In the absence of names, I can easily swap the return values without noticing at a rewrite.