Feature #8663

Officialy alias ArgumentError to ArgError

Added by Boris Stitnicky 9 months ago. Updated 8 months ago.

[ruby-core:56107]
Status:Open
Priority:Normal
Assignee:Yukihiro Matsumoto
Category:Joke
Target version:-

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.

History

#1 Updated by Martin Dürst 9 months 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.

#2 Updated by Boris Stitnicky 9 months ago

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

#3 Updated by Martin Dürst 9 months 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.

#4 Updated by Koichi Sasada 8 months ago

  • Assignee set to Yukihiro Matsumoto

Also available in: Atom PDF