Actions
Feature #9804
openFile::CREATE as a synonym for File::CREAT
Status:
Open
Assignee:
-
Target version:
-
Description
I would like to have File::CREATE
as a synonym for File::CREAT
.
Updated by normalperson (Eric Wong) over 10 years ago
alexey.muranov@gmail.com wrote:
I would like to have
File::CREATE
as a synonym forFile::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) over 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
Updated by hsbt (Hiroshi SHIBATA) almost 3 years ago
- Project changed from 14 to Ruby master
Actions
Like0
Like0Like0Like0