From: Trans Date: 2006-10-06T22:55:12+09:00 Subject: Re: nil being empty Ohad Lutzky wrote: > Show of hands - who thinks this is bad form? > > class NilClass > def empty?; true; end > end Put your hands down. Notice that everyone that says it's bad form is doing so on purely ideological basis. I challenge them to show one good _practical_ case where it's truly "bad". And no, purposefully expecting a NoMethod error doesn't count --that IS bad form. T.