General

Profile

matheusrich (Matheus Richard)

Issues

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

Activity

06/18/2021

02:51 AM Ruby master Misc #17997: DevelopersMeeting20210715Japan
* [Feature #17938] Keyword alternative for boolean positional arguments (MatheusRich)
* I think we should address t...
matheusrich (Matheus Richard)
02:36 AM Ruby master Feature #17938: Keyword alternative for boolean positional arguments
Another alternative would be allowing setting positional args through keyword args:
``` ruby
def respond_to?(symb...
matheusrich (Matheus Richard)

06/07/2021

04:51 PM Ruby master Feature #17938: Keyword alternative for boolean positional arguments
> This applies for any argument really. No other way than to read the docs (or know from a previous reading) to answe... matheusrich (Matheus Richard)

06/04/2021

07:00 PM Ruby master Feature #17938 (Open): Keyword alternative for boolean positional arguments
Some Ruby methods accept optional boolean arguments. This kind of parameter is known to be confusing since you cannot... matheusrich (Matheus Richard)

05/05/2021

10:28 PM Ruby master Feature #17844: Support list of methods to test with respond_to?
I would be confused whether it should respond to ALL of the params, or just ANY of them. It could be just me, though.... matheusrich (Matheus Richard)

04/19/2021

07:17 PM Ruby master Feature #17785: Allow named parameters to be keywords
Since we have `__method__`, maybe adding something like `__params__`?
``` ruby
def check(arg, class:)
arg.is_a?(__...
matheusrich (Matheus Richard)

01/24/2021

07:58 PM Ruby master Feature #17576: Partial Functions (procs, lambdas)
Kinda reminded me of Elixir's [guards] (https://hexdocs.pm/elixir/guards.html). matheusrich (Matheus Richard)

Also available in: Atom