General

Profile

marcandre (Marc-Andre Lafortune)

Issues

open closed Total
Assigned issues 7 135 142
Reported issues 39 204 243

Projects

Project Roles Registered on
Ruby Developer 09/10/2009
Backport186 Developer 09/10/2009
Backport187 Developer 09/10/2009
Backport191 Developer 09/10/2009
Backport192 Developer 10/05/2011
Backport193 Developer 10/05/2011
Backport200 Developer 02/17/2013
Backport21 Developer 12/21/2013
Backport22 Developer 12/19/2014
CommonRuby Developer 12/21/2012
Ruby 1.8 Developer 09/10/2009
Ruby master Developer 09/10/2009

Activity

04/16/2021

09:05 PM Ruby master Feature #17808: Feature Request: JS like splat of Object properties as named method parameters
I believe the answers given so far should help (i.e. `(**rest)` and defining `to_hash`).
Also looks into `Struct` ...
marcandre (Marc-Andre Lafortune)

04/15/2021

03:10 AM Ruby master Bug #17521: [Matrix stdlib] Zero matrix to the power of zero
Since `matrix` is a gem that can be updated independently from Ruby, I think backports are not required. In addition,... marcandre (Marc-Andre Lafortune)

04/10/2021

05:04 PM Ruby master Feature #17785: Allow named parameters to be keywords
My main objection to `local_variable_get` is that it's super verbose / ugly.
> How would you handle `foo(class_, c...
marcandre (Marc-Andre Lafortune)

04/09/2021

01:38 PM Ruby master Feature #17790: Have a way to clear a String without resetting its capacity
Looks good. I doubt very much that this would be a compatibility concern. marcandre (Marc-Andre Lafortune)

04/08/2021

10:27 PM CommonRuby Feature #11541 (Closed): Let attr_accessor, _reader & _writer return symbols of the defined methods
Shipped in Ruby 3.0 marcandre (Marc-Andre Lafortune)
09:43 PM Ruby master Feature #17786: Proposal: new "ends" keyword
Please no. Error prone, not particularly useful, can not be nested, potentially incompatible, ...
My recommendatio...
marcandre (Marc-Andre Lafortune)
04:55 PM Ruby master Feature #17785: Allow named parameters to be keywords
Clearly, `class_` is much simpler and much faster than `binding.local_variable_get(:class)`... marcandre (Marc-Andre Lafortune)
03:08 PM Ruby master Feature #17785 (Open): Allow named parameters to be keywords
We should allow named parameters to be keywords and use add a trailing `_` to the corresponding variable:
```ruby
...
marcandre (Marc-Andre Lafortune)
12:35 PM Ruby master Misc #17734: DevelopersMeeting20210416Japan
* [Feature #15198] Add Array#intersect? (marcandre)
* Ok to add?
marcandre (Marc-Andre Lafortune)
12:32 PM Ruby master Feature #15198: Array#intersect?
I am positive on the feature as has valid use cases, it can be optimized in C and as a bonus adds no cognitive load.
...
marcandre (Marc-Andre Lafortune)

Also available in: Atom