Both are English and err is shorter to type.
"Too err is human."
err is kinda ugly IMO. error looks good and is clear.
err is a good name for a variable of type error :)
It would be more consistent with the errdefer keyword
Both are English
If we are to consider that a factor: _err_ is a verb and _error_ is a noun. On those terms, the existing keyword makes more sense for its use case.
struct{} // noun
error{} // noun
err{} // verb
It would be more consistent with the
errdeferkeyword
Yep, but we also have anyerror.
maybe errdefer should be error_defer or error defer since error is already a keyword.
Yeah this was not productive.
Most helpful comment
If we are to consider that a factor: _err_ is a verb and _error_ is a noun. On those terms, the existing keyword makes more sense for its use case.
Yep, but we also have
anyerror.