Project

General

Profile

Actions

Feature #9804

open

File::CREATE as a synonym for File::CREAT

Added by alexeymuranov (Alexey Muranov) almost 10 years ago. Updated about 2 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:62396]

Description

I would like to have File::CREATE as a synonym for File::CREAT.

Updated by normalperson (Eric Wong) almost 10 years ago

wrote:

I would like to have File::CREATE as a synonym for File::CREAT.

At least give a reason for wanting this...

Fwiw, I am against adding more aliases/synonyms to core.
They increases human overhead to learn, and machine overhead to
store/cache.

New aliases will also confuse users on old versions who may browse
the web and find the new documentation.

On a side note, perhaps we should start adding a line like:
"This was added in Ruby X.Y.Z" in our RDoc for new features.
This is common in manpages, AFAICS.

Updated by alexeymuranov (Alexey Muranov) almost 10 years ago

I do not think this increases human overhead to learn: CREATE is an English word, CREAT is not. This would allow me to avoid writing in my code

File::CREATE = File::CREAT
Actions #3

Updated by hsbt (Hiroshi SHIBATA) about 2 years ago

  • Project changed from 14 to Ruby master
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0