Project

General

Profile

Actions

Feature #8459

closed

Idiomatic method names for Socket

Added by adkron (Amos King) almost 11 years ago. Updated almost 5 years ago.

Status:
Rejected
Target version:
-
[ruby-core:55192]

Description

In order to still have the POSIX standard functionality as well as an alternative idiomatic ruby version it would be nice to have some of the methods aliased in the core.

ie

Soket.gethostname => Socket.hostname

There is already a pull request open on the github version of Ruby. https://github.com/ruby/ruby/pull/320#issuecomment-18591614

Again this changes none of the current method names. This is only to add some idiomatic method names to match.

Updated by drbrain (Eric Hodel) almost 11 years ago

  • Tracker changed from Bug to Feature
  • Status changed from Open to Assigned
  • Assignee set to akr (Akira Tanaka)

Updated by akr (Akira Tanaka) almost 10 years ago

  • Status changed from Assigned to Feedback

I'm negative.

Such convention makes naming new method more difficult.

Naming is already very difficult.
I don't want to it more difficult.

Actions #3

Updated by naruse (Yui NARUSE) over 6 years ago

  • Target version deleted (2.6)

Updated by akr (Akira Tanaka) almost 5 years ago

  • Status changed from Feedback to Rejected

I reject this issue because 5 years after my feedback.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0