General

Profile

pvande (Pieter van de Bruggen)

  • Login: pvande
  • Registered on: 03/26/2018
  • Last sign in: 04/01/2020

Issues

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

Activity

06/27/2019

06:23 AM Ruby Feature #15865: `<expr> in <pattern>` expression
mame (Yusuke Endoh) wrote:
> I'd like to avoid to discuss a common topic between one-line and `case/in` in this particular ticket.
Agreed; the gist discusses the entirety of the feature-space, but the conversation in this ticket shou...
pvande (Pieter van de Bruggen)
12:21 AM Ruby Feature #15865: `<expr> in <pattern>` expression
As suggested by Yusuke on Twitter, I'm posting a link to my own personal "wishlist" around pattern matching. I'm happy to discuss any points that might benefit from clarification.
https://gist.github.com/pvande/822a1aba02e5347c39e8e0a...
pvande (Pieter van de Bruggen)
12:20 AM Ruby Feature #14912: Introduce pattern matching syntax
As suggested by Yusuke on Twitter, I'm posting a link to my own personal "wishlist" around pattern matching. I'm happy to discuss any points that might benefit from clarification.
https://gist.github.com/pvande/822a1aba02e5347c39e8e0...
pvande (Pieter van de Bruggen)

03/26/2018

09:43 PM Ruby Feature #13581: Syntax sugar for method reference
As a blue sky alternative, why not consider something like this:
~~~ ruby
[1, 2, 3].map(&> {Math.sqrt})
# or perhaps more simply
[1, 2, 3].map(&> Math.sqrt)
~~~
Pros:
* It's clean
* It's readable
* It reads like passin...
pvande (Pieter van de Bruggen)

Also available in: Atom