From: shevegen@... Date: 2018-11-02T03:25:26+00:00 Subject: [ruby-core:89678] [Ruby trunk Bug#15276] URI.join behaviour is unintuitive Issue #15276 has been updated by shevegen (Robert A. Heiler). What name would you suggest? Avdi mentioned the name #merge_path - is this the name that you suggest? (I ask specifically because finding a good name is not always easy. And in the proposal no specific name was mentioned as such.) ---------------------------------------- Bug #15276: URI.join behaviour is unintuitive https://bugs.ruby-lang.org/issues/15276#change-74719 * Author: vihai (Daniele Orlandi) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.5.1p57 * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- Hello, I've been bitten by issue #10075, I actually expected a different behaviour from ::join. It doesn't IMHO resepect the "principle of least suprise". I agree with avdi who suggests to deprecate ::join and replace it with a more intuitive name, while adding another method that performs path concatenation (which I think it is a more common scenario). Please consider this, Thank you! -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>