zverok (Victor Shepelev)
04/21/2024
-
08:58 AM
Ruby master
Misc #20441: Should passing keyword args to method_name(*) be an error?
- > Why does this conversion to a Hash occur?
Because of backward compatibility, indeed. Even now, most of, say, Rai...
zverok (Victor Shepelev)
-
08:33 AM
Ruby master
Misc #20441: Should passing keyword args to method_name(*) be an error?
- `super` just passes the arguments with EXACTLY the same signature as the method it is in has.
Whether or not `sup...
zverok (Victor Shepelev)
-
07:44 AM
Ruby master
Bug #20440: `super` from child class duplicating a keyword argument as a positional Hash
- > What still seems off to me is that super is modifying the arguments.
If I understand correctly, what “modifies” ...
zverok (Victor Shepelev)
04/03/2024
-
06:35 AM
Ruby master
Feature #20404: `2pi`
- > This proposal is half joke, half serious.
There are several interesting things to unpack here (though I don’t se...
zverok (Victor Shepelev)
03/28/2024
-
07:20 AM
Ruby master
Feature #20394: Add an offset parameter to `String#to_i`
- > I'd be all for a dedicated `Buffer` class that allow to efficiently parse text protocols like HTTP and RESP3, but r...
zverok (Victor Shepelev)
03/19/2024
-
08:50 PM
Ruby master
Feature #8421: add Enumerable#find_map and Enumerable#find_all_map
- @alexbarret There is a somewhat lesser-known trick which looks pretty close to your code:
```ruby
# proposal:
find...
zverok (Victor Shepelev)
03/13/2024
-
08:21 AM
Ruby master
Feature #20331: Should parser warn hash duplication and when clause?
- As a language user, I would expect the parser to be able to warn about the keys that are _literally_ same (i.e. same ...
zverok (Victor Shepelev)
03/07/2024
-
05:38 PM
Ruby master
Feature #20326: Add an `undefined` for use as a default argument.
- > Personally, I don't like an API that distinguishes between "nil is passed" and "nothing is passed".
Unfortunate...
zverok (Victor Shepelev)
03/01/2024
-
08:20 AM
Ruby master
Feature #20318: Pattern matching `case ... in` support for triple-dot arguments
- @ko1 A pretty similar effect can be achieved by combining several recent features:
```ruby
def foo(*, **) = case [*,...
zverok (Victor Shepelev)
02/27/2024
-
08:05 PM
Ruby master
Feature #20298: Introduce `Time()` type-cast / constructor.
- I would like to register a dissenting opinion about the protocol :)
I believe that `ClassName()` convention, while...
zverok (Victor Shepelev)
Also available in: Atom
Loading...