General

Profile

baweaver (Brandon Weaver)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 10 10 20

Activity

03/19/2024

05:58 PM Ruby master Feature #20349 (Open): Pattern Matching - Expose local variable captures
In Regular Expressions we have the ability to utilize `Regexp.last_match` ([link](https://ruby-doc.org/3.2.2/Regexp.h... baweaver (Brandon Weaver)

03/01/2024

07:46 AM Ruby master Feature #20318: Pattern matching `case ... in` support for triple-dot arguments
ko1 (Koichi Sasada) wrote in #note-3:
> I prefer
>
> ...
>
> to represent method overloading.
> (but I unders...
baweaver (Brandon Weaver)

10/11/2023

06:24 AM Ruby master Bug #19918: Should `a[&b]=c` be syntax valid?
Is it bad that my first consideration is how this might be abused to do bad things for code golfing reasons? I blame ... baweaver (Brandon Weaver)

09/13/2023

05:58 AM Ruby master Feature #19839: Need a method to check if two ranges overlap
I believe there are a few reasons for this addition. The core one I see often in justifications is precedence in exis... baweaver (Brandon Weaver)

08/18/2023

02:09 AM Ruby master Feature #19839: Need a method to check if two ranges overlap
I've made several helpers for this exact same problem, as well as a `Range#merge` in the past. I would very much be i... baweaver (Brandon Weaver)

08/06/2023

04:46 AM Ruby master Feature #19832: Method#destructive?, UnboundMethod#destructive?
This may have some very interesting use-cases around Ractor of forbidding any state mutation methods inside of Ractor... baweaver (Brandon Weaver)

07/18/2023

05:48 AM Ruby master Feature #19764: Introduce defp keyword for defining overloadable, pattern matched methods
Going to go through a few points here, sorry for the long reply.
### Taking - A gem implementation
I had hacked...
baweaver (Brandon Weaver)

05/24/2023

08:21 PM Ruby master Misc #19692 (Open): Net::HTTP Performance Workstream
While working on identifying causes behind Capybara test slowness I had noticed some memory profiles pointed at a few... baweaver (Brandon Weaver)

05/09/2023

07:05 PM Ruby master Feature #19634 (Open): Pattern matching dynamic key
I found myself in a situation ([stable marriage problem](https://rosettacode.org/wiki/Stable_marriage_problem#top-pag... baweaver (Brandon Weaver)

03/30/2023

05:50 AM Ruby master Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
While I like the goal of potentially more succinct boolean arguments I think this will be confusing and difficult to ... baweaver (Brandon Weaver)

Also available in: Atom