curriculum icon indicating copy to clipboard operation
curriculum copied to clipboard

Add a custom enumerable example to the custom enumerable project for the ruby track.

Open linkonsat opened this issue 3 years ago • 3 comments

One of the things I noticed while helping in the chat is that it seems a few people seem to have difficulty understanding how to use blocks and yield. I believe it may be useful to provide a detailed example in the custom enumerable projects as an example showing both the do...end and {|a| does something with a }. An example of that could be the sort enumerable in either the custom enumerable project page itself OR as the first example in the enumerable repo for learners to go over and refresh themselves on what a block is, where you could put yield within that block, and a walkthrough of how that is handled.

I am also going to link this other issue since I believe that splitting this into two lessons/add exercises would help with making blocks more clear. #23482

linkonsat avatar Feb 03 '22 03:02 linkonsat

Yeah that's not a bad shout at all mate.

@rlmoser99 @KevinMulhern Do you guys have an opinion on this?

CouchofTomato avatar Feb 03 '22 15:02 CouchofTomato

@linkonsat I've added an On Hold tag on the linked issue based on the discussion there.

What would you like to do with this one? Although it's related, it seems like a much smaller scope so could be completed independently of that work

ChargrilledChook avatar Jun 26 '22 05:06 ChargrilledChook

@ChargrilledChook I can go ahead and start working on the example. Although I would still want to break up the lesson when this section gets reviewed.

linkonsat avatar Jul 02 '22 15:07 linkonsat

This issue is stale because it has had no activity for the last 30 days.

github-actions[bot] avatar Apr 19 '23 01:04 github-actions[bot]

@linkonsat

Hi mate,

Is this still something you plan on working on?

CouchofTomato avatar Apr 20 '23 21:04 CouchofTomato

@CouchofTomato yup!

linkonsat avatar Apr 22 '23 22:04 linkonsat

@linkonsat Nice. Thanks mate.

CouchofTomato avatar Apr 24 '23 15:04 CouchofTomato

This issue is stale because it has had no activity for the last 30 days.

github-actions[bot] avatar Jun 09 '23 02:06 github-actions[bot]

This issue is stale because it has had no activity for the last 30 days.

github-actions[bot] avatar Jul 20 '23 01:07 github-actions[bot]

@linkonsat is this still something you want to work on? Or would you perhaps like to open it up for others?

ManonLef avatar Oct 06 '23 10:10 ManonLef

This issue is stale because it has had no activity for the last 30 days.

github-actions[bot] avatar Nov 06 '23 01:11 github-actions[bot]