General

Profile

zverok (Victor Shepelev)

Issues

open closed Total
Assigned issues 0 19 19
Reported issues 19 98 117

Projects

Project Roles Registered on
Ruby Committer 01/17/2022
Backport187 Committer 01/17/2022
Backport191 Committer 01/17/2022
Backport192 Committer 01/17/2022
Backport193 Committer 01/17/2022
Backport200 Committer 01/17/2022
Backport21 Committer 01/17/2022
Backport22 Committer 01/17/2022
Ruby 1.8 Committer 01/17/2022
Ruby master Committer 01/17/2022

Like

Activity

11/17/2024

09:44 AM Ruby master Feature #20770: A *new* pipe operator proposal
In case anybody interested, I spent some time on Staruday experimenting on an implementation of @AlexandreMagro’s ide... zverok (Victor Shepelev)

11/05/2024

12:26 PM Ruby master Feature #20864: Allow `Kernel#warn` to accept `**options` and pass these to `Warning.warn`.
I wonder why `error:` in particular, and not just `warn(text, **any_structured_metadata)`?.. zverok (Victor Shepelev)

10/23/2024

07:57 AM Ruby master Feature #15381: Let double splat call `to_h` implicitly
> I think that would be awesome. If I do `other_method(**model)` and that model is representable as a hash, passing i... zverok (Victor Shepelev)

10/22/2024

06:37 PM Ruby master Feature #15381: Let double splat call `to_h` implicitly
> `{}.merge(**obj)` => obj is explicitly splatted but conversion is done via #to_hash instead of #to_h. It makes no s... zverok (Victor Shepelev)
06:12 AM Ruby master Feature #15381: Let double splat call `to_h` implicitly
I believe that the general agreement is that short `to_{t}` methods (`to_s`, `to_i`, `to_h`, `to_a`) have a semantics... zverok (Victor Shepelev)

10/02/2024

05:03 PM Ruby master Feature #20770: A *new* pipe operator proposal
@AlexandreMagro I don’t think this analogy is suitable here.
Of course, there are operators that aren’t convenien...
zverok (Victor Shepelev)
06:34 AM Ruby master Feature #20770: A *new* pipe operator proposal
A couple of my counterpoints to `|>` (and towards `.{}`, if we do need syntax sugar in this place at all):
While `...
zverok (Victor Shepelev)

10/01/2024

07:02 PM Ruby master Feature #20770: A *new* pipe operator proposal
@Eregon this example (at least for me) is just an easy target for discussion (because it uses standard libraries, is ... zverok (Victor Shepelev)
08:24 AM Ruby master Feature #20770: A *new* pipe operator proposal
vo.x (Vit Ondruch) wrote in #note-14:
> AlexandreMagro (Alexandre Magro) wrote in #note-7:
>
> To me it just demo...
zverok (Victor Shepelev)
07:55 AM Ruby master Feature #20770: A *new* pipe operator proposal
> We could expand the syntax to treat `.{}` as `.then{}`, similar to how `.()` is `.call()`.
I really like this i...
zverok (Victor Shepelev)

Also available in: Atom