Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
It would be nice to have a null object. I guess not a real object, just a metaclass that you could define methods on.
I've defined some utility methods on null before in ruby, mainly like sqlEquals(), which was also defined for all standard types. And its just nice not to have to write code that worries about the null case.
Attachments
Issue Links
- is related to
-
GROOVY-1119 allow certain mehtods to be called on null
- Closed