Talk:Loops/Downward for

Revision as of 08:13, 5 July 2012 by rosettacode>Dkf (→‎worse programming pratices?: when is a bad practice ever idiomatic?)

worse programming pratices?

In regards to the REXX version 3 example (yuppers, that was mine), has anybody ever thought of entering a Rosetta Code task:

  • what NOT to do
  • bad programming practices
  • real bad programming practices
  • don't-do-this-at-home programming practices, ... ever!

Hurrumph! Hurrumph! -- Gerard Schildberger 20:29, 4 July 2012 (UTC)

We've never gone in for documenting or promoting bad practices in the past. Sometimes it is necessary to use a somewhat-less-than-great practice to achieve a task, but whenever I've written such a thing, I've almost always also added a note to say that the example is non-idiomatic and would usually say what to use instead, which often fails to satisfy the task for technical reasons (e.g., “I'd use the built-in sort instead of writing a bubblesort implementation” in a task to write a bubblesort). I prefer to show how to do things well, and idiomatically too, instead of collecting ways to do them badly. –Donal Fellows 08:13, 5 July 2012 (UTC)
Return to "Loops/Downward for" page.