{"id":17,"date":"2011-07-05T19:20:00","date_gmt":"2011-07-05T23:20:00","guid":{"rendered":"http:\/\/brian.digitalmaddox.com\/blog\/?p=17"},"modified":"2014-07-08T16:45:48","modified_gmt":"2014-07-08T20:45:48","slug":"visual-basic-microsoft-compilers","status":"publish","type":"post","link":"https:\/\/brian.digitalmaddox.com\/blog\/?p=17","title":{"rendered":"Visual Basic \/ Microsoft Compilers"},"content":{"rendered":"<p>I came across <a href=\"http:\/\/thedailywtf.com\/Articles\/TransAtlantic-Time-Trap.aspx\">this<\/a> article on the Daily WTF and it reminded me of the many issues I have with Microsoft compilers. \u00a0For example, back in the VB 6 days, I remember how variables in a structure would disappear if the field they referenced in a database was NULL. \u00a0This made things oh so much fun.<\/p>\n<div><\/div>\n<div>I also remember how Visual C++ decided to screw with new so it wouldn&#8217;t throw std::bad_alloc on allocation failure. \u00a0I had a bunch of code where I had to put in things like foo = new(nothrow) all throughout my code to help it be cross platform. \u00a0Or having two separate and incompatible iostreams implementations where neither was really feature complete but I needed to find a way to use both to get things to work.<\/div>\n<div><\/div>\n<div>Ahh the good old days \ud83d\ude42<\/div>\n","protected":false},"excerpt":{"rendered":"<p>I came across this article on the Daily WTF and it reminded me of the many issues I have with Microsoft compilers. \u00a0For example, back in the VB 6 days, I remember how variables in a structure would disappear if &hellip; <a href=\"https:\/\/brian.digitalmaddox.com\/blog\/?p=17\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[],"class_list":["post-17","post","type-post","status-publish","format-standard","hentry","category-compilers","category-visual-c"],"_links":{"self":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/17","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17"}],"version-history":[{"count":0,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/17\/revisions"}],"wp:attachment":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}