{"id":24,"date":"2006-01-31T06:38:53","date_gmt":"2006-01-31T05:38:53","guid":{"rendered":"http:\/\/bar-solutions.com\/wordpress\/?p=24"},"modified":"2006-01-31T06:38:53","modified_gmt":"2006-01-31T05:38:53","slug":"comments-2","status":"publish","type":"post","link":"https:\/\/blog.bar-solutions.com\/?p=24","title":{"rendered":"comments (2)"},"content":{"rendered":"<p>Often, I find myself commenting out chuncks of code. Either because I decide to go on a different route with the solution, or because the specs for the program change (do they change? YES). When revisiting the code after a while, I sometimes don&#8217;t seem to be able to come up with the why of these comments. I can do either one of two things: Keep\u00a0or remove the commented code. I don&#8217;t really like to remove the commented code, because they show some intelligence on the program. Why a certain solution didn&#8217;t work, how the specs used to be, etc.<\/p>\n<p>Mostly I date-stamp my comments. Now what would be a good time to remove these comments and does the program run slower with the comments in place?<\/p>\n<p>I think removing the comments is only useful when the readabilty of the program improves by removing them. Note: They are not comments to explain the code. They are code that is turned off.<\/p>\n<p>What do you think\u00a0would be a good time to remove this code\/these comments.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Often, I find myself commenting out chuncks of code. Either because I decide to go on a different route with the solution, or because the specs for the program change (do they change? YES). When revisiting the code after a while, I sometimes don&#8217;t seem to be able to come up with the why of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2,5],"tags":[],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-delphi","category-oracle","category-plsql"],"_links":{"self":[{"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24"}],"version-history":[{"count":0,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/posts\/24\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}