Closed gphat closed 11 years ago
Again, no nulls. Replaces some of the if/then logic with map/getOrElse and leaves others with boolcheck/get.
The idea here is to replace all these null checks with Option all the way up the stack.
Also, as a thought: Should these things be mutable? addMethod/addAttribute could return a MoeClass… :)
Should these things be mutable? addMethod/addAttribute could return a MoeClass… :)
Wha? I don't get what you mean here, please provide more context.
Must a MoeClass et al be mutable?
Again, no nulls. Replaces some of the if/then logic with map/getOrElse and leaves others with boolcheck/get.
The idea here is to replace all these null checks with Option all the way up the stack.
Also, as a thought: Should these things be mutable? addMethod/addAttribute could return a MoeClass… :)