Decorate-sort-undecorate idiom: Difference between revisions
Undo revision 347745 by Petelomax (talk)
Tag: Undo |
|||
Line 623:
chrestomathy programming Rosetta Code site is a</pre>
However, for this same reason, there is no point doing the decorate, sort, undecorate in practice. You can simply do this:
<syntaxhighlight lang="lua">function lengthOrder (a, b)
|