Project

General

Profile

Actions

Feature #8663

open

Officialy alias ArgumentError to ArgError

Added by Anonymous over 11 years ago. Updated 8 months ago.

Status:
Assigned
Target version:
-
[ruby-core:56107]

Description

When not using custom made exceptions, I find myself using TypeError, NameError and ArgumentError the most. ArgumentError is the longest and I would like to suggest to alias it officially as ArgError.

Updated by duerst (Martin Dürst) over 11 years ago

This just saves 5 characters, but creates confusion because now many people will start to wonder what the difference is between ArgumentError and ArgError, if any.

Updated by Anonymous over 11 years ago

Yes, but one of those characters is 'm'!

Updated by duerst (Martin Dürst) over 11 years ago

  • Category set to Joke

boris_stitnicky (Boris Stitnicky) wrote:

Yes, but one of those characters is 'm'!

Anything in particular that's problematic about 'm'? I have tentatively classified that as a joke, but can switch it back if needed.

Updated by ko1 (Koichi Sasada) over 11 years ago

  • Assignee set to matz (Yukihiro Matsumoto)
Actions #5

Updated by hsbt (Hiroshi SHIBATA) 8 months ago

  • Status changed from Open to Assigned
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0