{"id":1157,"date":"2005-12-14T17:51:00","date_gmt":"2005-12-14T17:51:00","guid":{"rendered":""},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T22:00:00","slug":"Jare","status":"publish","type":"post","link":"https:\/\/iguanademos.com\/Jare\/wp\/?p=1157","title":{"rendered":"C# and const-correctness"},"content":{"rendered":"<p>Every now and then, I experiment with C# and the .NET Framework. For the most part, it&#8217;s an amazingly useful environment to develop on; you can crank up tools and interfaces in no time, and Visual Studio provides lots of helpers to improve productivity and general comfort. However, not all is rosy. Being a const-correctness fan, I dismayed when I found out about <a href=\"http:\/\/blogs.msdn.com\/oldnewthing\/archive\/2004\/04\/27\/121049.aspx\" target=\"_blank\">this<\/a>.<\/p>\n<p>To quote from one of the comments:<\/p>\n<p><i>&gt; Mort just wants to get his job done.<br \/>Yeah, and I have to clean up after mort.<\/i><\/p>\n<p>Const-correctness is a fantastic way to develop more robust code, period. Seeing a system like .NET, which <i>should<\/i> be aimed at developing large-scale software, be weakened to appease the laziness of a bunch of hack-and-forget programmers is sad.<\/p>\n<p>You can download a small mini-game done with C# and Managed DirectX <a href=\"files\/DXCSharp_01.zip\">here.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every now and then, I experiment with C# and the .NET Framework. For the most part, it&#8217;s an amazingly useful environment to develop on; you can crank up tools and interfaces in no time, and Visual Studio provides lots of &hellip; <a href=\"https:\/\/iguanademos.com\/Jare\/wp\/?p=1157\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-1157","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1157"}],"version-history":[{"count":0,"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1157\/revisions"}],"wp:attachment":[{"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}