From: duerst Date: 2022-06-10T09:44:39+00:00 Subject: [ruby-core:108849] [Ruby master Feature#18159] Integrate functionality of dead_end gem into Ruby Issue #18159 has been updated by duerst (Martin D��rst). schneems (Richard Schneeman) wrote in #note-19: > It's maybe worth asking as well, how confident is Ruby core that this is a feature they want? Basically: I am worried that if I ask you for too many changes or new interfaces and then it is decided that the feature is not desired then it will be wasting your time. Do you know if many have played around with adding the Gemfile to their applications? I am very happy to adapt `dead_end` to use new interfaces and I am very appreciative of your work here. I think the idea was that `dead_end` would be included in Ruby itself so that that we would get more feedback on its usability. In my view, it would be good to start this as early as possible. So what I'm suggesting is something like the following: - Make `dead_end` available in master Ruby, even if it doesn't work in all cases. - Get feedback. - (hopefully) decide that we really want `dead_end` and work on the remaining details. I also think that e.g. there's no big problem with `dead_end` not working with -e. The average script handed to the -e option is too short to make it necessary to find missing `end`s. ---------------------------------------- Feature #18159: Integrate functionality of dead_end gem into Ruby https://bugs.ruby-lang.org/issues/18159#change-97927 * Author: duerst (Martin D��rst) * Status: Open * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * Target version: 3.1 ---------------------------------------- Missing 'end' errors are difficult to fix. We should integrate the functionality of the dead_end gem (https://github.com/zombocom/dead_end) into Ruby similar to how we integrated did_you_mean. It would greatly help programming Ruby, in particular for beginners. See also Ruby Kaigi Takeout 2021 talk by Richard Schneeman https://rubykaigi.org/2021-takeout/presentations/schneems.html. -- https://bugs.ruby-lang.org/ Unsubscribe: