Project

General

Profile

Actions

Feature #8663

open

Officialy alias ArgumentError to ArgError

Added by Anonymous over 10 years ago. Updated over 10 years ago.

Status:
Open
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 10 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 10 years ago

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

Updated by duerst (Martin Dürst) over 10 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 10 years ago

  • Assignee set to matz (Yukihiro Matsumoto)
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0