General

Profile

Hanmac (Hans Mackowiak)

  • Email: hanmac@gmx.de
  • Registered on: 05/14/2011
  • Last connection: 10/07/2019

Issues

Activity

11/13/2019

01:31 PM CommonRuby Feature #16347: InmutableObject
i don't think "Functional Programming" works the way you think in ruby.
in Ruby everything is an Object so it is a...
Hanmac (Hans Mackowiak)

11/12/2019

08:47 AM Ruby master Bug #16344: Can be assigned to numbered parameter when after used _1
i think this has something to do with that _* parameter doesn't cause duplicate syntax errors:
```ruby
def abc(_x...
Hanmac (Hans Mackowiak)

10/18/2019

08:30 AM Ruby master Feature #16120: Omitted block argument if block starts with dot-method call
Dan0042 (Daniel DeLorme) wrote:
> ```ruby
> array3D
> .each do
> .each do
> .each do |point|
> ```
my...
Hanmac (Hans Mackowiak)

10/17/2019

07:24 AM Ruby master Feature #13683: Add strict Enumerable#single
Dan0042 (Daniel DeLorme) wrote:
> +1
>
> I actually have this as `single` in my own code, but `only` sounds fine ...
Hanmac (Hans Mackowiak)

09/25/2019

11:34 AM Ruby master Bug #16180: Random.rand(max) ignores / is broken when max ceiling value is a float
your cases are documented there: https://ruby-doc.org/core-2.6.4/Kernel.html#method-i-rand
`When max.abs is greate...
Hanmac (Hans Mackowiak)

08/27/2019

03:13 PM Ruby master Feature #16120: Omitted block argument if block starts with dot-method call
@Dan0042 in your list about implicit and explicit you forgot `{ foo }` depending on the method who gets the block, it... Hanmac (Hans Mackowiak)

08/26/2019

07:36 AM Ruby master Feature #16128: Would it be possible for ruby to warn about case/when menu options separated by a trailing, but accidental ','?
the problem is that the case body can be empty, that doesn't mean the code is wrong.
and like sawa said, it probab...
Hanmac (Hans Mackowiak)

08/23/2019

07:41 AM Ruby master Feature #16119: Optimize Array#flatten and flatten! for already flattened arrays
i see in your patch that you not only check for `Array` but for `to_ary` too, which is nice
@shevegen :
inste...
Hanmac (Hans Mackowiak)

08/19/2019

12:23 PM Ruby master Feature #16113: Partial application
the Devs should maybe look at `#curry` for this, currently it doesn't support a way to curry keyword arguments Hanmac (Hans Mackowiak)

08/13/2019

01:48 PM Ruby master Bug #16026: `Set#count` performance issues
it might not be able to be generic in Enumerable
for example an Widget might be Enumerable with the child widgets,...
Hanmac (Hans Mackowiak)

Also available in: Atom