Jump to content

Talk:Sorting algorithms/Stooge sort: Difference between revisions

m
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 &nbsp; <strike>but</strike> put &nbsp; 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:
Cookies help us deliver our services. By using our services, you agree to our use of cookies.