# Reducing Enumerable (and writing again)

**URL:** <https://rubytalk.org/t/reducing-enumerable-and-writing-again/74305>\
**Category:** ruby-talk\
**Created:** [18 October 2017 08:32 UTC](https://rubytalk.org/t/reducing-enumerable-and-writing-again/74305 "2017-10-18T08:32:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorg\_W\_Mittag3](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@Jorg\_W\_Mittag3](https://rubytalk.org/u/Jorg_W_Mittag3)\
**Post date:** [18 October 2017 08:32 UTC](https://rubytalk.org/t/reducing-enumerable-and-writing-again/74305/1 "2017-10-18T08:32:03Z")

</div>

Brandon Weaver wrote:

> Been a while, but I've started writing a lot of Ruby tutorials and articles  
> again. You all may find a few of these interesting.
> 
> The two ones I currently have running are:
> 
> Reducing Enumerable
> 
> Reimplementing Enumerable in terms of Reduce.
> 
> [Reducing Enumerable — The Basics. One of the lesser understood functions… | by Brandon Weaver | Medium](https://medium.com/@baweaver/reducing-enumerable-the-basics-fa042ce6806)  
> [Reducing Enumerable — No-Op and Boolean | by Brandon Weaver | Medium](https://medium.com/@baweaver/reducing-enumerable-no-op-and-boolean-b2ce4ef8bd79)  
> [Reducing Enumerable — No-Op and Boolean | by Brandon Weaver | Medium](https://medium.com/@baweaver/reducing-enumerable-no-op-and-boolean-b2ce4ef8bd79)

I did something similar a while ago:

&nbsp;&nbsp;&nbsp;&nbsp;[Functional code examples in ruby - Stack Overflow](https://stackoverflow.com/a/3834035/2988)

It's an interesting experience.

Also, a painful one, it shows that the core lib APIs are  
definitely not designed with Ruby in mind. Trying to implement the  
core lib APIs in Ruby is an exercise in pain.

jwm
