{"id":7750,"date":"2019-01-10T15:12:37","date_gmt":"2019-01-10T20:12:37","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=7750"},"modified":"2019-01-10T15:12:37","modified_gmt":"2019-01-10T20:12:37","slug":"moving-from-c-to-c","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=7750","title":{"rendered":"Moving from C++ to C"},"content":{"rendered":"<p>I\u2019ve written before about not being a fan of C++. I know it\u2019s an unpopular opinion but I think it\u2019s a terrible language that removed most useful aspects of C while keeping C\u2019s problems. Partly, I suppose, that\u2019s because I\u2019m also not a big fan of Object Oriented programming in general but if I have to use it, I\u2019d much prefer to use something like Common Lisp\u2019s CLOS. C++, it seems to me, has everything backwards.<\/p>\n<p>All of that is a lonely position, of course, and sometimes it can seem as if I\u2019m a single lost voice shouting into the night. It turns out, though, that I\u2019m not alone. Nick Walton has a <a href=\"https:\/\/www.youtube.com\/watch?v=Tm2sxwrZFiU\">short video<\/a> in which he announces that he\u2019s moving from C++ to C in 2019. His reasons aren\u2019t particularly profound\u2014he simply doesn\u2019t like C++ and fails to see the utility of its conventions\u2014but he does mention something that is probably obvious but that I hadn\u2019t thought about: many C++ users would rather use C but feel that they must use C++ for \u201ccultural\u201d reasons. He has a clip from Mike Acton making that point.<\/p>\n<p>There\u2019s nothing in the video that\u2019s going to change your opinion\u2014whatever it is\u2014and Walton says at the outset that that\u2019s not his intention. He\u2019s merely explaining why moving to C makes sense <i>for him.<\/i> Likewise, I\u2019m not trying to change your mind. I\u2019m just enjoying not feeling alone in the world on that particular question.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I\u2019ve written before about not being a fan of C++. I know it\u2019s an unpopular opinion but I think it\u2019s a terrible language that removed most useful aspects of C while keeping C\u2019s problems. Partly, I suppose, that\u2019s because I\u2019m &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=7750\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[17,187],"class_list":["post-7750","post","type-post","status-publish","format-standard","hentry","category-programming","tag-c","tag-c-2"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7750","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7750"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7750\/revisions"}],"predecessor-version":[{"id":7751,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7750\/revisions\/7751"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7750"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7750"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7750"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}