General

Profile

brianhempel (Brian Hempel)

Issues

Activity

12/05/2014

02:58 AM Ruby master Misc #10541: Remove shorthand string interpolation syntax
Recursive Madman wrote:
> Did you also check what character followed those interpolations? e.g. "#{@foo}bar" wouldn'...
brianhempel (Brian Hempel)

12/04/2014

04:38 PM Ruby master Feature #10481: Add "if" and "unless" clauses to rescue statements
You’re right there may be some risk for anti-patterns, but from my experience this example in the original proposal i... brianhempel (Brian Hempel)

12/01/2014

02:11 PM Ruby master Misc #10541: Remove shorthand string interpolation syntax
Martin Dürst wrote:
> Can you tell us what the situation is for Ruby itself (including build scripts and standard li...
brianhempel (Brian Hempel)
02:03 PM Ruby master Misc #10541: Remove shorthand string interpolation syntax
Recursive Madman wrote:
> Did you also check what character followed those interpolations? e.g. "#{@foo}bar" wouldn'...
brianhempel (Brian Hempel)
04:53 AM Ruby master Misc #10541: Remove shorthand string interpolation syntax
Steve Richert asked me how many of those 353,199 regular interpolations could have been replaced by shorthand interpo... brianhempel (Brian Hempel)

11/30/2014

08:16 PM Ruby master Misc #10541: Remove shorthand string interpolation syntax
I analyzed the ~150,000 Ruby files in the top 1000 Ruby repositories on GitHub:
The regular interpolation syntax i...
brianhempel (Brian Hempel)

11/28/2014

08:38 AM Ruby master Feature #10552: [PATCH] Add Enumerable#frequencies and Enumerable#relative_frequencies
Yes, I would rather see `Hash#map_values` in Ruby before `Enumerable#frequencies`. However, if both `map_values` and ... brianhempel (Brian Hempel)

11/27/2014

07:29 PM Ruby master Feature #10552: [PATCH] Add Enumerable#frequencies and Enumerable#relative_frequencies
Thanks for the feedback David. I can see a `map` functionality being useful, but here I will play some arguments agai... brianhempel (Brian Hempel)
07:59 AM Ruby master Feature #10552 (Open): [PATCH] Add Enumerable#frequencies and Enumerable#relative_frequencies
Counting how many times a value appears in some collection has always been a bit clumsy in Ruby. While Ruby has enoug... brianhempel (Brian Hempel)

Also available in: Atom