Browse files

Practicing Ruby, v4i5.

  • Loading branch information...
bjhess committed Jun 30, 2012
1 parent e3ba5e7 commit 8313cf972f821dc21793aef459e0dea7b374729e
Showing with 14 additions and 0 deletions.
  1. +14 −0 practicing_ruby/
@@ -0,0 +1,14 @@
+### [Scoring Predictions](
+This was a great example of how to analyze technical interview
+solutions. Our the iterators streamlined?
+The big takeaways here:
+1. BDD should help you write code. Not be busy work.
+2. Extra iterations is a sign of the wrong iterator.
+3. Tracking indexes or variables also a sing of the wrong iterator.
+4. `case` is often just another `Array`.
+5. Write code to communicate to the reader. Figure out the underlying meaning.
+Learned about a couple enumerable methods: [`zip`]( and [`chunk`]( "If you find yourself in these scenarios, go spelunking in Enumerable to see if there's a better tool for the job."

0 comments on commit 8313cf9

Please sign in to comment.