Street Fighter Alpha 3 rocked!
Dr Nic wrote:
…
or whatever you like.
TODO
Now you can grep for TODO’s in your code (some IDEs love to do this for
you)
Why not something like (untested):
module YabbaDabbaDo
def self.const_missing(name)
if name == :TODO
raise “YabbaDabbaDon’t!”
else
super(name)
end
end
end
class Foo
include YabbaDabbaDo
def bar
TODO
end
end
Best of both worlds
…
or whatever you like.
TODO
Now you can grep for TODO’s in your code (some IDEs love to do this for
you)
#TODO is sometimes unelegant, like:
#TODO if should_do?
and sometimes you even do the mistake of writing this.