{"id":2418,"date":"2006-12-11T01:16:00","date_gmt":"2006-12-11T01:16:00","guid":{"rendered":"https:\/\/test.simple-talk.com\/uncategorized\/the-good-life\/"},"modified":"2016-07-28T10:48:59","modified_gmt":"2016-07-28T10:48:59","slug":"the-good-life","status":"publish","type":"post","link":"https:\/\/www.red-gate.com\/simple-talk\/blogs\/the-good-life\/","title":{"rendered":"The good life"},"content":{"rendered":"<p>It&#8217;s amazing just how easy programming is nowadays. For the past 2 years-ish I&#8217;ve been working almost exclusively in C# and I forgot quite how much of a pain it can be when you have to code in C++ for a while. You have to remember all these little things like include paths, linking options, DLLHell (although I must admit the embedded manifest for requesting a version of the runtime is pretty neat) and compiler options.<\/p>\n<p>You have to drop back a few steps to realise how far you have progressed. OK when I moved from C++ to C# there were a few features I missed like multiple inheritance and templates. OK you can work around multiple inheritance and you can argue that it&#8217;s poor design if you need to use it, but I liked it and missed it on occasion. Templates however were a serious shortcoming and Microsoft at least recognised that and (praise appropriate deity of your choice) they fixed that with C# 2.<\/p>\n<p>As I was saying though when you go back you realise what a painful world you used to live in. I&#8217;m having to look up compiler options, cross-compiling, even resorting to various shades of assembler when I really want things to work exactly as I need them to. This is what programming should do, make your life easier and you can tell that Microsoft have succeeded in that effort with C#, so bravo Microsoft. It&#8217;s a brave new world and just pray you never have to go back to C++ ever again.<\/p>\n<p>P.S. Does anybody have any idea why the op code <code>pushad<\/code> doesn&#8217;t seem to work in my __asm block?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s amazing just how easy programming is nowadays. For the past 2 years-ish I&#8217;ve been working almost exclusively in C# and I forgot quite how much of a pain it can be when you have to code in C++ for a while. You have to remember all these little things like include paths, linking options,&#8230;&hellip;<\/p>\n","protected":false},"author":167198,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[],"coauthors":[],"class_list":["post-2418","post","type-post","status-publish","format-standard","hentry","category-blogs"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/2418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/users\/167198"}],"replies":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/comments?post=2418"}],"version-history":[{"count":2,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/2418\/revisions"}],"predecessor-version":[{"id":41468,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/2418\/revisions\/41468"}],"wp:attachment":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/media?parent=2418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/categories?post=2418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/tags?post=2418"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/coauthors?post=2418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}