I'm upgrading a project from Ruby 3.0 to Ruby 3.4, and I think I came across an unexpected bug related to this related to using `binding` from a `SimpleDelegator` child. Can someone help me confirm and organize? Example reproduction s...ttilberg (Tim Tilberg)
> I believe quite many people are in favor of Array.product and/or Array.zip. I personally find this surprising! It goes against what I find to be some of Ruby’s best design philosophies against Python: Instance method versions are mor...ttilberg (Tim Tilberg)
Thanks everyone! I wondered if it wasn't due to memory allocations, but the "build a massive string" operation was successful and quite fast. I looked through `rb_str_enumerate_lines` in the C source, and got lost rather quickly, aside f...ttilberg (Tim Tilberg)
I believe there may be a potential performance regression regarding `String#lines` worth noting between 3.0.3 and 3.1.0. This came about in [this discussion](https://www.reddit.com/r/ruby/comments/rpje0g/fast_to_way_to_parse_csv/hqadqsd/...ttilberg (Tim Tilberg)
There were notes in the recent dev meeting that affect this issue: https://github.com/ruby/dev-meeting-log/blob/master/DevelopersMeeting20201026Japan.md#feature-17260-promote-pattern-matching-to-official-feature-ktsj `=>` is a new fea...ttilberg (Tim Tilberg)
Currently the 1-line syntax for pattern matching is: ``` # Usage: <expression> in <pattern> expression = { pattern: "Example" } expression in {pattern: something} # something => "Example" ``` Is it technically possible...ttilberg (Tim Tilberg)
shevegen (Robert A. Heiler) wrote in #note-2: > I am not sure if this is a good suggestion though, largely because .to_s already having a > ... I feel that this directly supports the proposal in that when you call `#to_s` on a `Time` or ...ttilberg (Tim Tilberg)
[Gerald Bauer pointed out](https://www.reddit.com/r/ruby/comments/f4pcn5/dateformatter_gem_date_formatter_by_example/fhxkn8f/) that this concept already exists in Rails' ActiveSupport: https://github.com/rails/rails/blob/master/activesup...ttilberg (Tim Tilberg)
While terms like `strftime` and `strptime` are ubiqutous through the history of computer science, I feel that the terms are very dense. If you are not already in-the-know, they are gibberish. If you are in the know, they are still a bit ...ttilberg (Tim Tilberg)
I've been following this for a while, hopeful that it (or something quite similar) stays in. I've grown to appreciate thinking of the `@1` in a sense of "an instance var of this block", since `@1` can't exist in code today. However, ...ttilberg (Tim Tilberg)