From: "rubyFeedback (robert heiler) via ruby-core" Date: 2023-02-13T00:05:57+00:00 Subject: [ruby-core:112386] [Ruby master Bug#19168] "such file" is bad grammar Issue #19168 has been updated by rubyFeedback (robert heiler). Hmm. This reminds me a bit of File.exists? versus File.exist?. Not that it is the same, mind you, but which variant is "correct" depends on the point of view. For literal english it would be "if file exists, do that". But from an object-centric point of view, aka "object xyz, do you exist?" the second variant is the more technically correct one. Just mentioning this, even if it is not applicable in the case here. Personally I don't mind either way really. I am so used to it that I did not even notice it. I am more concerned with load speed of .rb files content than any grammar-centric consideration. ;) ---------------------------------------- Bug #19168: "such file" is bad grammar https://bugs.ruby-lang.org/issues/19168#change-101828 * Author: masterleep2 (Bill Lipa) * Status: Open * Priority: Normal * ruby -v: ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [arm64-darwin22] * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- The error message for a missing required file has bad grammar: $ irb irb(main):001:0> require 'wuxx' :85:in `require': cannot load such file -- wuxx (LoadError) The "such" should be removed. "cannot load file" reads more normally in English. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/