January 2011
2 posts
3 tags
Your Code is Not Self Documenting
There is this movement that people should try to write
a self documenting code. Such code doesn’t require any
comments, because it is obvious what it does. While that
might be true, it’s not the whole truth.
Imagine the following code
def backup
backup_database()
backup_repositories()
backup_emails()
push_backups_to_s3()
end
At a first glance, it is obvious what the...
Redcar: It's Time for a Ruby Editor →