I'm interested to hear other facilitator's opinions of these two challenges.
- Does the "no loops" rule lead to more use of functional programming constructs such as map, filter, inject/reduce? Is that the point of it?
- Does the "no conditionals" rule lead to more use of OO programming constructs like polymorphism? Is that the point of it?
With the "no conditionals", I'm assuming that means no "if" statements, and the ternary operator "?" is out too, but what about boolean expressions like x = y or z? Or the conditional you pass to "filter" (in python, at least, often a lambda). Do they count as conditionals?
I havn't used these challenges at a code retreat yet, and I wanted to know more about them before I do.