{"id":1291,"date":"2007-08-23T08:10:14","date_gmt":"2007-08-23T12:10:14","guid":{"rendered":"http:\/\/www.allyngibson.net\/?p=1291"},"modified":"2007-08-23T08:10:14","modified_gmt":"2007-08-23T12:10:14","slug":"on-macro-naming-conventions","status":"publish","type":"post","link":"http:\/\/www.allyngibson.com\/?p=1291","title":{"rendered":"On Macro Naming Conventions"},"content":{"rendered":"<p>Let&#8217;s suppose you needed a macro for Microsoft Word that went through a document, found everything that was colored red, and turned it black.<\/p>\n<p>What would you name such a macro?  A sensible person might called it &#8220;RedToBlack.&#8221;<\/p>\n<p>A less sensible, more poetic soul might call it &#8220;PaintItBlack.&#8221;<\/p>\n<p>Said less sensible, more poetic soul might also have a message box pop up as the macro begins.  Said message box might display the message: &#8220;I see a red door and I want it painted black.&#8221;<\/p>\n<p>Said less sensible, more poetic sould might then have a message box open when the macro is finished.  Said message box might display this message: &#8220;No colors anymore, I want them to turn black.&#8221;<\/p>\n<p>Because, of course, sometimes even lowly macro writers just need to have fun. \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s suppose you needed a macro for Microsoft Word that went through a document, found everything that was colored red, and turned it black. What would you name such a macro? A sensible person might called it &#8220;RedToBlack.&#8221; A less sensible, more poetic soul might call it &#8220;PaintItBlack.&#8221; Said less sensible, more poetic soul might<a class=\"more-link\" href=\"http:\/\/www.allyngibson.com\/?p=1291\">Continue reading <span class=\"screen-reader-text\">&#8220;On Macro Naming Conventions&#8221;<\/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":[229],"tags":[347,401],"class_list":["post-1291","post","type-post","status-publish","format-standard","hentry","category-work","tag-macros","tag-rolling-stones","entry"],"_links":{"self":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/1291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1291"}],"version-history":[{"count":0,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/1291\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1291"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}