General

Profile

ahvetm (Erik Madsen)

  • Login: ahvetm
  • Registered on: 03/27/2019
  • Last sign in: 11/05/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 0 0

Activity

08/03/2019

08:40 PM Ruby Feature #16039: Array#contains? to check if one array contains another array
I think this is a great proposal in terms of having one of those nice, useful methods easily available directly on the class you're interacting with, similar to `Array#last` which can quite verbose in other languages.
I would propose ...
ahvetm (Erik Madsen)

03/27/2019

10:26 AM Ruby Misc #15723: Reconsider numbered parameters
duerst (Martin Dürst) wrote:
> > * The '@n' syntax complicates the idea of what '@' identifies in Ruby, making the language potentially harder to learn.
> ...
Yes, but in my mind it carries misleading hints about the scope of the var...
ahvetm (Erik Madsen)
09:18 AM Ruby Misc #15723: Reconsider numbered parameters
I signed up just to comment on this thread, because I also feel that this change is rather weird, and I would like to propose an alternative, that I don't think has been discussed.
I understand the need for the feature, and it's a wel...
ahvetm (Erik Madsen)

Also available in: Atom