I have always wanted to make a good comparison between writing in English (or any similar language, or even possibly dissimilar ones) and writing code. I have been proof-reading some writing for a friend recently and I have come up with a good comparison:
When you are done writing some small bit of code, you usually test it. If it does not work for all values of input, you carefully read through each line of the code to see what has logical errors. You continue to retest until the code works for all inputs.
When you are done writing some small (relatively; an essay is the largest I would consider small; though, what I am about to write applies to larger pieces. I have no experience with writing things like short stories or novels so I won't go into them.) bit of English, you do not have to test it. You can assume that there will be syntactical, logical, and structural errors. So to be a concise, clear, robust writer, you must carefully read through each line of the text to find these errors. Then you release it into the wild, like your blog.
No comments:
Post a Comment