刚才在google群中与人交流时,有朋友说在scala中,应该尽量避免使用null,不能像java那样。发了一个博客中的文章,感觉不错,贴在这里。
http://jim-mcbeath.blogspot.com/2008/10/avoiding-nulls.html