General

Profile

matz (Yukihiro Matsumoto)

  • Login: matz
  • Email: matz@ruby.or.jp
  • Registered on: 05/09/2008
  • Last sign in: 12/16/2025

Issues

open closed Total
Assigned issues 148 688 836
Reported issues 1 30 31

Projects

Project Roles Registered on
Ruby Owner, Committer 05/18/2008

Activity

03/17/2026

09:46 AM Ruby Bug #21921: Hash inconsistent ==, >=, <= behavior
Not many people use `Hash` inclusion operators, and I doubt anyone expects them to behave consistently when `compare_by_identity` is involved. Rather than raising an exception, I think returning `nil` from `==`, `<=` and `>=` whenever ei... matz (Yukihiro Matsumoto)
09:40 AM Ruby Feature #21932: `MatchData#get_int`
I agree with adding `integer_at(n)` to `MatchData`, and `StringScanner` too (#21943).
Matz.
matz (Yukihiro Matsumoto)
09:38 AM Ruby Feature #17056: Array#index: Allow specifying the position to start search as in String#index
I think it's good to add an offset: keyword argument to `Array#index` and `Array#rindex`, for consistency with `String#index` and `String#rindex`.
As for `Array#find_index`, I think we should add `offset:` there as well, keeping it in...
matz (Yukihiro Matsumoto)
08:39 AM Ruby Feature #21520: Feature Proposal: Enumerator::Lazy#tee
After reconsideration, I think `tap_each` is a better name than `tee` for this method.
`tee` is familiar to Unix users, but Python's `itertools.tee` has a very different meaning (splitting an iterator into multiple independent iterato...
matz (Yukihiro Matsumoto)
08:19 AM Ruby Feature #21858 (Feedback): `Kernel#Hash` considers `to_h` too
The consistency argument is noted, but I have reservations about
introducing `to_h` into `Hash()`.
Unlike `to_ary`/`to_a` or `to_int`/`to_i`, `to_h` has an unusual
property: it is defined on Enumerable and Array, but whether it
suc...
matz (Yukihiro Matsumoto)
08:11 AM Ruby Feature #21822 (Rejected): Expose Return Value in the ensure Block
Thank you for the feedback. I understand the aesthetic appeal, but "cleaner" is subjective, and the existing pattern is already idiomatic Ruby with no real cognitive overhead.
More importantly, "purely additive" does not mean cost-fre...
matz (Yukihiro Matsumoto)
08:05 AM Ruby Feature #6012: Proc#source_location also return the column
Thank you, @eregon, for the thorough analysis and for pushing this feature forward with such persistence over the years.
I have reconsidered my position. Although I approved this change, and it has been in master for a year, I now bel...
matz (Yukihiro Matsumoto)
07:43 AM Ruby Feature #21795: Methods for retrieving ASTs
I have two concerns before we move forward.
On the name AST
I'm not sure `ast` is the right name. The nodes returned by Prism retain concrete information such as positions, whitespace, and comments, making them closer to a Concrete...
matz (Yukihiro Matsumoto)
06:47 AM Ruby Feature #21875: Handling of trailing commas in lambda parameters
OK, I agree. Keep as it is. We cannot ignore the semantic difference between `|a,|` and `|a,b,|`.
Matz.
matz (Yukihiro Matsumoto)
05:41 AM Ruby Bug #21870: Regexp: Warnings when using slightly overlapping \p{...} classes
The warning for overlapping `\p{...}` classes should be removed. The original intent was to catch mistakes like `/[:lower:]/`, but overlapping Unicode properties are not a mistake. They are expected and intentional. A warning with no act... matz (Yukihiro Matsumoto)

Also available in: Atom