Anonymous user
Talk:Sorting algorithms/Stooge sort: Difference between revisions
m
→ooRexx / NetRexx Questions: corrected a typo.
Walterpachl (talk | contribs) No edit summary |
m (→ooRexx / NetRexx Questions: corrected a typo.) |
||
Line 34:
What is the reason to use the underscores in the variables (in NetRexx and taken over to ooRexx?
--[[User:Walterpachl|Walterpachl]] 11:24, 5 July 2012 (UTC)
: Just personal style; I strongly disapprove of single character variables and the pseudo-code on which the solution was based used single characters. Adding underscore to the names was a less invasive change than renaming the variables (but would perhaps have made the code more self-explanatory: mea culpa). However using underscore in iterator names helps me find them easily and with iterators, concise is nice. Another plus is that it's easier to <strike>but</strike> put the cursor between two characters when double-clicking than to try to grab a single character in some IDEs. --[[User:Alansam|Alansam]] 15:12, 5 July 2012 (UTC)
----
ooRexx solution:
|