{"id":5566,"date":"2004-02-19T08:01:30","date_gmt":"2004-02-19T15:01:30","guid":{"rendered":"http:\/\/hill-kleerup.org\/blog\/wp\/2004\/02\/19\/commentary-3.html"},"modified":"2004-02-19T08:01:30","modified_gmt":"2004-02-19T15:01:30","slug":"commentary_3","status":"publish","type":"post","link":"https:\/\/hill-kleerup.org\/blog\/2004\/02\/19\/commentary_3.html","title":{"rendered":"Commentary"},"content":{"rendered":"<p>A recent leak of portions (about 15%) of the source code for Windows 2000 shows that Microsoft OS programmers are no more disciplined in their code comments &#8212; or considering of who might eventually see them &#8212; than any other programmer.  Looking at the comments shows some <a title=\"We Are Morons: a quick look at the Win2k source || kuro5hin.org\" href=\"http:\/\/www.kuro5hin.org\/story\/2004\/2\/15\/71552\/7795\">typical bits of programmer humor<\/a> scattered here and there.<\/p>\n<p class=\"block\">In the struggle to meet deadlines, I think pretty much all programmers have put in comments they might later regret, including swearwords and acerbic comments about other code or requirements. Also, any conscientious coder will put in prominent comments warning others about the trickier parts of the code. Comments like &#8220;UGLY TERRIBLE HACK&#8221; tend to indicate good code rather than bad: in bad code ugly terrible hacks are considered par for the course. It would therefore be both hypocritical and meaningless to go through the comments looking for embarrassments. But also fun, so let&#8217;s go.<br \/>\nCurse words: there are a dozen or so &#8220;fucks&#8221; and &#8220;shits&#8221;, and hundreds of &#8220;craps&#8221;. Some dissatisfaction with the compiler is expressed in private\\shell\\shell32\\util.cpp: <br \/>\n<i>\/\/ the fucking alpha cpp compiler seems to fuck up the goddam type &#8220;LPITEMIDLIST&#8221;, so to work<br \/>\n\/\/ around the fucking peice of shit compiler we pass the last param as an void *instead of a LPITEMIDLIST<\/i><\/p>\n<p>Other amusing bits abound.  But, in summary:<\/p>\n<p class=\"block\">In short, there is nothing really surprising in this leak. Microsoft does not steal open-source code. Their older code is flaky, their modern code excellent. Their programmers are skilled and enthusiastic. Problems are generally due to a trade-off of current quality against vast hardware, software and backward compatibility.<\/p>\n<p>Interesting.  And (as a former code commentator myself) amusing.<\/p>\n<p><small>(via <a href=\"http:\/\/www.geekpress.com\/2004_02_15_weekly.html#107715974182319718\">GeekPress<\/a>)<\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A recent leak of portions (about 15%) of the source code for Windows 2000 shows that Microsoft OS programmers are no more disciplined in their code comments &#8212; or considering&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":0,"_seopress_analysis_target_kw":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[20],"tags":[],"class_list":["post-5566","post","type-post","status-publish","format-standard","hentry","category-hi-tech"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":5847,"url":"https:\/\/hill-kleerup.org\/blog\/2004\/07\/10\/the_return_of_f.html","url_meta":{"origin":5566,"position":0},"title":"The Return of Firefox, buttons, MT, rich text editing, and me","author":"***Dave","date":"Sat 10-Jul-04 5:01pm","format":false,"excerpt":"Huzzah and hey-nonny-nonny! Based on Rich's suggestions, the formatting buttons in the comments are working just jim-spandy fine. Huzzah! I've tested it in both Firefox and IE ... which probably...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":637,"url":"https:\/\/hill-kleerup.org\/blog\/2001\/09\/10\/we_get_comments.html","url_meta":{"origin":5566,"position":1},"title":"We get comments","author":"***Dave","date":"Mon 10-Sep-01 10:29am","format":false,"excerpt":"Or maybe we will if the \"Mail me\" code below works. It's not real comments (and won't be, until I move my ISP), but it will at least allow folks...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6232,"url":"https:\/\/hill-kleerup.org\/blog\/2004\/10\/05\/name_please.html","url_meta":{"origin":5566,"position":2},"title":"Name, please?","author":"***Dave","date":"Tue 5-Oct-04 12:44pm","format":false,"excerpt":"Hrm. Despite not actually changing any code (as far as I know), the \"Remember me!\" bits in the comments here seems to be distinctly not remembering me. Or, presumably, you....","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6222,"url":"https:\/\/hill-kleerup.org\/blog\/2004\/10\/06\/the_return_of_t.html","url_meta":{"origin":5566,"position":3},"title":"The Return of the Revenge of the Son of the MT Rich Text Formatting Buttons!","author":"***Dave","date":"Wed 6-Oct-04 6:24pm","format":false,"excerpt":"Okay, so not having a link button or italics buttons or stuff like that in the comments was driving me nuts. Time to re-insert the old code. But ... wait....","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5853,"url":"https:\/\/hill-kleerup.org\/blog\/2004\/07\/09\/firefox_buttons.html","url_meta":{"origin":5566,"position":4},"title":"Firefox, buttons, MT, rich text editing, and me","author":"***Dave","date":"Fri 9-Jul-04 8:46pm","format":false,"excerpt":"Okay, the code all works (including a small button and an Amazon image button) in the bm_entry (Bookmarklet screen) and edit_entry (MT Edit screen). Woo-hoo, and hoody-hoo. Problem is, I...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11893,"url":"https:\/\/hill-kleerup.org\/blog\/2008\/01\/07\/blog_problems.html","url_meta":{"origin":5566,"position":5},"title":"Blog problems","author":"***Dave","date":"Mon 7-Jan-08 8:18am","format":false,"excerpt":"I guess it's a good thing that if folks are having problems, they're telling me about them ...\u00a0 Better to have no problems at all, of course, but complaints are...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/posts\/5566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/comments?post=5566"}],"version-history":[{"count":0,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/posts\/5566\/revisions"}],"wp:attachment":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/media?parent=5566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/categories?post=5566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/tags?post=5566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}