Slide 44
Slide 44 text
class Gollum
class Wiki
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
def write_page(name, format, data, commit = {})
# ...
end
end
end
Maybe you think that’s too trivial and reading the code would be fine. Ok, how about this
example. Not so simple now, is it? We can get some idea of what the method does, and even
though the argument names are good, there is no visibility into specifics about either. As
coders, we rely on specifics to write good code.