in reply to Different way to use while loop
I just had a co-worker ask what this code did and I didn't know. ... It seems to work just like: ... Any thoughts?
Use more words to explain the program, for example start with <c> $_ contains "foo" , then loop for blah blah and on blah iteration blah happen s...
Do that for 2/3 of the loops you posted
Think about what you're saying
Explain in great detail what happens to the variable at each step, what operator or control structure does
Say it out loud, write it down, it shouldn't take more than two minutes to write it up ... I'll wait
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Different way to use while loop (obfuscation)
by Anonymous Monk on Jan 09, 2015 at 03:45 UTC |