groovy

Null Object

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.0-JSR-6
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

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.

Issue Links

Activity

Hide
Guillaume ALLEON added a comment -

See GROOVY-1119 which is the sibbling issue.

Show
Guillaume ALLEON added a comment - See GROOVY-1119 which is the sibbling issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: