, 3 min read
Writing about software and building software are different jobs
2 thoughts on “Writing about software and building software are different jobs”
, 3 min read
2 thoughts on “Writing about software and building software are different jobs”
“However, when someone explains a concept and provides a code sample, I take that as literature, not engineering”
How do you reconcile the above with things like the MSDN docs, C++ reference sites, and the like? They provide code samples, what if they decided to do the same as you do? They would be completely useless. To me, those code samples are much more than literature as are posts from people not writing pseudocode in their blog posts.
And you are not writing pseudocode in your posts, you are deliberately taking working code, stripping “boring detail” information from it, and calling it “simplified”. What you are actually doing is making code with bugs in it. You are expecting readers to be able to discern between a bug and what you have intentionally simplified. How do you expect that to work? There is obviously some unknown metric in your own mind that makes you decide what to simplify and what not to. Seems unreasonable to think everyone will know the difference between one of your simplifications and a bug.
How do you reconcile the above with things like the MSDN docs, C++ reference sites, and the like? They provide code samples, what if they decided to do the same as you do? You are expecting readers to be able to discern between a bug and what you have intentionally simplified.
I expect people who read my blog to be smart and knowledgeable. And they are.
If one cannot readily spot the simplification, one is not going to enjoy my blog very much.
Note that I almost always provide full working code… I just don’t include it in the blog posts themselves because the blog posts are meant to be read by human beings, not machine.
How do you expect that to work?
It works. I have been blogging for 15 years and have 40,000 unique visitors a month. Very few people have a problem with simplified code, especially given that a provide full code samples. I am just making this policy explicit.