{"id":10337,"date":"2019-11-15T10:03:07","date_gmt":"2019-11-15T10:03:07","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=10337"},"modified":"2019-11-15T10:03:07","modified_gmt":"2019-11-15T10:03:07","slug":"qt-global-variables-are-evil","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=10337","title":{"rendered":"Qt Global Variables are Evil"},"content":{"rendered":"<p><a href=\"https:\/\/www.lattix.com\/programming-hell-and-global-variables\/\">Programming Hell and Global Variables<\/a><br \/>\n<a href=\"https:\/\/softwareengineering.stackexchange.com\/questions\/148108\/why-is-global-state-so-evil\">Why is Global State so Evil?<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/484635\/are-global-variables-bad\">Are global variables bad? [closed]<\/a><br \/>\n<a href=\"https:\/\/www.learncpp.com\/cpp-tutorial\/4-2a-why-global-variables-are-evil\/\">S.4.2a \u2014 Why global variables are evil<\/a><br \/>\n<a href=\"https:\/\/www.tutorialspoint.com\/Why-should-we-avoid-using-global-variables-in-C-Cplusplus\">Why should we avoid using global variables in C\/C++?<\/a><br \/>\n<a href=\"https:\/\/dev.to\/mervinsv\/why-global-variables-are-bad-4pj\">Why are global variables bad?<\/a><br \/>\n<a href=\"http:\/\/www.koopman.us\/bess\/chap19_globals.pdf\">Better Embedded System Software &#8211; Chapter 19: Global Variables Are Evil<\/a><\/p>\n<p><a href=\"https:\/\/www.fluentcpp.com\/2019\/07\/23\/how-to-define-a-global-constant-in-cpp\/\">What Every C++ Developer Should Know to (Correctly) Define Global Constants<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Programming Hell and Global Variables Why is Global State so Evil? Are global variables bad? [closed] S.4.2a \u2014 Why global variables are evil Why should we avoid using global variables in C\/C++? Why are global variables bad? Better Embedded System Software &#8211; Chapter 19: Global Variables Are Evil What Every C++ Developer Should Know to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10337","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10337","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10337"}],"version-history":[{"count":1,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10337\/revisions"}],"predecessor-version":[{"id":10338,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10337\/revisions\/10338"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}