JoshOrndorff / LearnRholangByExample

Teaches rholang to beginners and intermediate programmers through hands-on examples and experimentation.
67 stars 32 forks source link

Invocation of the counter #17

Closed Eknir closed 5 years ago

Eknir commented 5 years ago

Sequential invocation of the counter by means of nested for comprehensions

JoshOrndorff commented 5 years ago

Looks pretty good Rinke!

There are two little things that I think would make it better.

  1. You lowercased my comment on line 3. The new phrasing is fine, but I try to start comments with capitals.
  2. The check method is clearly a good idea. That's why it is the first exercise after this example. If we put it right in this file, I can't leave it as an exercise for the learner.