Thursday, October 30, 2014

Changes 10/30/14

UMD Contest:

Ruby:

  • Clarified a previous blog post with Mr. Elkner.  I clarified why 20.times.each is redundant in ruby.  20.times returns an iterator, and calling .each on that iterator (or calling 20.times.each) just returns itself (the same iterator) again.

1 comment:

  1. Did you look at the solution provided by the contest organizers? You should do that, and then compare your solution with theirs.

    ReplyDelete