{"id":16051,"date":"2021-09-03T13:00:56","date_gmt":"2021-09-03T11:00:56","guid":{"rendered":"https:\/\/www.codemotion.com\/magazine\/?p=16051"},"modified":"2022-07-08T15:52:45","modified_gmt":"2022-07-08T13:52:45","slug":"automation-coding-best-practices","status":"publish","type":"post","link":"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/","title":{"rendered":"4 Coding Best Practices Automation Developers Should Implement"},"content":{"rendered":"\t\t\t\t<div class=\"wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-bc823fd2      \"\n\t\t\t\t\tdata-scroll= \"1\"\n\t\t\t\t\tdata-offset= \"30\"\n\t\t\t\t\tstyle=\"\"\n\t\t\t\t>\n\t\t\t\t<div class=\"uagb-toc__wrap\">\n\t\t\t\t\t\t<div class=\"uagb-toc__title\">\n\t\t\t\t\t\t\tTable Of Contents\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"uagb-toc__list-wrap \">\n\t\t\t\t\t\t<ol class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#01-employ-the-best-rpa-tools\" class=\"uagb-toc-link__trigger\">#01. Employ the Best RPA tools<\/a><li class=\"uagb-toc__list\"><a href=\"#02-know-when-to-avoid-hardcoding\" class=\"uagb-toc-link__trigger\">#02. Know When to Avoid Hardcoding<\/a><li class=\"uagb-toc__list\"><a href=\"#03-follow-a-strict-naming-convention\" class=\"uagb-toc-link__trigger\">#03. Follow a Strict Naming Convention<\/a><li class=\"uagb-toc__list\"><a href=\"#04-write-clean-code\" class=\"uagb-toc-link__trigger\">#04. Write Clean Code<\/a><li class=\"uagb-toc__list\"><a href=\"#coding-for-the-low-code-future-of-automation\" class=\"uagb-toc-link__trigger\">Coding for the Low Code Future of Automation<\/a><\/ol>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\n\n\n<p>With Robotic Process Automation (RPA) now a common business process for a number of industries, developing automation software and programming bots is a rapidly growing sphere of software development.<\/p>\n\n\n\n<p>For developers working in the burgeoning field of automation coding, the relative novelty of the discipline means there are some conflicting opinions over what constitutes best practice. We\u2019ve put together some basic tips for software developers looking to hone their coding skills for the brave new world of automation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-01-employ-the-best-rpa-tools\">#01. Employ the Best RPA tools<\/h2>\n\n\n\n<p>There\u2019s no shame in using whatever tools are available to help you design the best bots in the most efficient way. Just because you <em>could <\/em>write every line of code yourself doesn\u2019t mean you <em>should<\/em>. A video editor might be perfectly capable of editing their work using any number of professional techniques, but that doesn\u2019t mean they shouldn\u2019t also make use of a <a href=\"https:\/\/www.designwizard.com\/tools\/youtube-video-maker\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\" class=\"ek-link\">YouTube video maker<\/a> when appropriate.<\/p>\n\n\n\n<p>In the world of automation software, there are several tools that have proven themselves to be very handy when it comes to streamlining the development process. Platforms like Automation Anywhere have pioneered the way in <a href=\"https:\/\/www.codemotion.com\/magazine\/dev-hub\/backend-dev\/how-low-code-changes-software-engineering\/\" target=\"_blank\" rel=\"noopener\">engineering low code<\/a> solutions to the task of automating business processes and is one of the leading RPA tools.<\/p>\n\n\n\n<p>When using traditional workflow management software as an automation tool, a software developer produces a list of actions needed to automate a task and an internal application programming interface (API) or dedicated scripting language to interface with a given system\u2019s back end.<\/p>\n\n\n\n<p>In contrast, RPA systems develop the action list by observing a user perform a task in the application\u2019s graphical user interface (GUI) and then perform the automation by repeating those tasks directly in the GUI.&nbsp;<\/p>\n\n\n\n<p>This lowers the barrier to use of automation and enables the deployment of automated solutions in the form of bots that boost the productivity of human workforces by removing the need to carry out routine tasks. It\u2019s thanks to RPA frameworks that we have seen such huge growth in the <a href=\"https:\/\/blog.shift4shop.com\/automating-customer-service\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\" class=\"ek-link\">automation of customer service<\/a>, for example.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/J3Ymatr5ma-3oGNzo5WrBIpLFrgOrHPjdnK6CliW6Y2-4gQpYx9mM4AjJKbkVC5yc8ivvMDCd3G3Qf8bx-qYoY-RtGxZo8uwrmO0qzrhwGHK4m5Y4sqpvlx_FTrSQD3m775uGfAW=s0\" alt=\"\"\/><\/figure>\n\n\n\n<p>Other essential RPA tools for automation developers include preconfigured bots that can be incorporated into your own automation products.&nbsp;<\/p>\n\n\n\n<p>Tasks that you might want to include in an automated process, such as text extraction and sorting, can be delegated to a number of powerful RPA tools. For example, Data scrapers and Optical Character Recognition (OCR) agents can be included as modules within a larger process of robotic automation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-02-know-when-to-avoid-hardcoding\">#02. Know When to Avoid Hardcoding<\/h2>\n\n\n\n<p>Put simply, hardcoding is the practice of embedding functions and values in the code itself, while softcoding refers to the use of configuration and parameters to refer to external resources.<\/p>\n\n\n\n<p>In any form of coding, an overreliance on softcoding can lead to bloated code that shifts errors from compile time to run time, making them harder to detect. Nevertheless, it is best practice to avoid hardcoding commonly altered values. This rings especially true for cloud-based applications and automation programming, which often needs to be configured by an end-user without access to the source code.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/9Pjv1H_myHtfL-bok_buMo_nML5mILDXTEZhv2NVKnbeq-wDm3QpbN_kj0Xqg-hfICOA6JLGXEU7Z0cc6_p19N8_yv_ym_48Sn7IEOWCFgMuL_-SoCGBrGXnrCrgEAUhyPY4jHHp=s0\" alt=\"\"\/><\/figure>\n\n\n\n<p>Of course, who your end-user is will inevitably depend on the nature of the software being developed. If you are developing <a href=\"https:\/\/vmblog.com\/archive\/2021\/04\/29\/how-to-leverage-automation-to-enhance-cybersecurity.aspx#.YN2uf-hKjb1\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\" class=\"ek-link\">automation for cybersecurity<\/a>, you can assume a certain degree of technical know-how.&nbsp;<\/p>\n\n\n\n<p>But when writing code for automation software, you can\u2019t always assume a high level of code literacy. If your software product helps facilitate <a href=\"https:\/\/www.automationanywhere.com\/company\/blog\/company-culture\/seven-ways-to-improve-new-hire-onboarding\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\" class=\"ek-link\">onboarding automation<\/a>, for example, your end-user is more likely to be HR team members with little background in software engineering.<\/p>\n\n\n\n<p>Avoiding unnecessary hardcode with end-users in mind is also important if your end-user is a developer, such as when writing testing automation scripts. Because hardcoded values have a tendency to break in the case of any application changes, it is best to rely on variable driven components for automated software testing.&nbsp;<\/p>\n\n\n\n<p>Components like locators can be kept out of your code by storing the respective values in a spreadsheet. This makes for easier modification of that component by your end-user without them having to change the source code at all.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-03-follow-a-strict-naming-convention\">#03. Follow a Strict Naming Convention<\/h2>\n\n\n\n<p>Following a proper naming convention is a good idea no matter what type of programming you are doing. For automation developers, it is recommended by every <a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.automationanywhere.com\/company\/blog\/general-technology\/why-you-need-a-center-of-excellence\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">automation centre of excellence<\/a>.&nbsp;<\/p>\n\n\n\n<p>Which convention you refer to will depend on the type of coding your project demands and the technologies it implements.<\/p>\n\n\n\n<p>For example, when it comes to designing bots, Automation Anywhere has a recommended variable naming convention:<\/p>\n\n\n\n<ul class=\"is-style-default wp-block-list\"><li>Variables start with \u201cv\u201d<\/li><li>Lists start with \u201clst\u201d<\/li><li>Arrays start with \u201carr\u201d<\/li><li>Randoms start with \u201crdm\u201d<\/li><\/ul>\n\n\n\n<p>Some developers prefer to add variable \u201ctype\u201d prefixes to the front of their variables, for example:<\/p>\n\n\n\n<ul class=\"is-style-default wp-block-list\"><li>\u201cint\u201d for variables expected to hold whole numbers (integers)<\/li><li>\u201cstr\u201d for variables expected to hold a string of characters<\/li><\/ul>\n\n\n\n<p>Keeping to proper naming conventions makes code easier to read and maintain. Variables, methods, classes, and packages should be named in a way that doesn\u2019t lead to confusion. Avoid generic, or non-descriptive names like a, b, c, etc. These give no indication to the end-user as to what a given element actually does.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-04-write-clean-code\">#04. Write Clean Code<\/h2>\n\n\n\n<p>The art of writing clean code is all about keeping your scripts simple and legible. When reviewing your code, ask yourself if there is a more elegant way of reaching the same outcome.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/ov4ojVag4KygFIcK-edPqfsO09XqJIt5VFuX5_fzrTIknGmafa01TW6uJqbgb_cTHmopc3SgRLzJS5LAFdFdVBvehd-VlHFPGD1MDyYc9CMHoDw7KC7k2MIHzynGjj7a9Okv88JN=s0\" alt=\"\" width=\"100\" height=\"100\"\/><\/figure>\n\n\n\n<p>Simplicity is not just about making your codebase as short as possible. When coding methods, it\u2019s important to break them down into the smallest units of user scenarios. Do not overcomplicate your methods by assembling multiple functionalities into a single method.<\/p>\n\n\n\n<p>It is also useful to reuse your methods wherever required, do not copy and paste the same code into different methods. This will lead to unnecessary duplication. Instead, refactoring and optimizing your code is key to writing better, more concise automation code.<\/p>\n\n\n\n<p>No matter whether you are programming attended or unattended bots, or how you define the <a href=\"https:\/\/www.automationanywhere.com\/company\/blog\/rpa-thought-leadership\/the-difference-between-front-and-back-office\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\" class=\"ek-link\">front office back office<\/a> distinction, it is always best not to assume that your end-user will share your technical background. Only you will know who you are writing for, but there are two things you can do to improve interpretability regardless:<\/p>\n\n\n\n<ul class=\"is-style-default wp-block-list\"><li>Comment your code so that other developers can understand your reasoning and syntax<\/li><\/ul>\n\n\n\n<ul class=\"is-style-default wp-block-list\"><li>Be consistent with your naming conventions and make sure these are the same as those used by the rest of your team. If you are creating automation testing for software developers, follow their conventions<\/li><\/ul>\n\n\n\n<p>Generous commentary can also help you keep track of your own scripts. What might seem obvious while in the process of writing code may not make so much sense when you return to the same script several months later.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-coding-for-the-low-code-future-of-automation\">Coding for the Low Code Future of Automation<\/h2>\n\n\n\n<p>As hyper-automation technologies such as RPA- and GUI-driven automation frameworks are rolled out across an increasing number of industries, we are entering a future where knowledge of <a href=\"https:\/\/www.codemotion.com\/magazine\/dev-hub\/backend-dev\/programming-languages-how-to-choose-the-best-one\/\" target=\"_blank\" rel=\"noopener\">programming languages<\/a> is less central to the automation programming skillset.&nbsp;<\/p>\n\n\n\n<p>Or rather, the new language of automation has come to look like its own ultra-high-level language \u2013one that closely resembles natural language and is more accessible to business analysts, project managers, and other professions at the vanguard of the automation revolution.<\/p>\n\n\n\n<p>Following these four best practice tips will help you to code for the low- or no-code future and be part of the changes to come.<\/p>\n\n\n\n<p>[jwp-video n=&#8221;1&#8243;]<\/p>\n\n\n\n<p><em>Recommended articles:<br><\/em><a href=\"https:\/\/www.codemotion.com\/magazine\/ai-ml\/driving-in-the-cloud-how-creative-programming-is-reshaping-transportation\/\" class=\"ek-link\">Driving in the Cloud: How Creative Programming is Reshaping Transportation<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.codemotion.com\/magazine\/backend-dev\/software-architecture\/understanding-the-boom-of-low-code-and-no-code\/\" target=\"_blank\" aria-label=\"Understanding the Bom of Low-Code and No-Code (opens in a new tab)\" rel=\"noreferrer noopener\" class=\"ek-link\">Understanding the Bom of Low-Code and No-Code<\/a><\/p>\n\n\n\n<p><a href=\"Hyperautomation: From Myth to Reality\" class=\"ek-link\">Hyperautomation: From Myth to Reality<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With Robotic Process Automation (RPA) now a common business process for a number of industries, developing automation software and programming bots is a rapidly growing sphere of software development. For developers working in the burgeoning field of automation coding, the relative novelty of the discipline means there are some conflicting opinions over what constitutes best&#8230; <a class=\"more-link\" href=\"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/\">Read more<\/a><\/p>\n","protected":false},"author":132,"featured_media":16665,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_editorskit_title_hidden":false,"_editorskit_reading_time":5,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","_uag_custom_page_level_css":"","_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[36],"tags":[9544],"collections":[],"class_list":{"0":"post-16051","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-backend","8":"tag-low-code","9":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v26.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>4 Coding Best Practices Automation Developers Should Implement -<\/title>\n<meta name=\"description\" content=\"Robotic Process Automation (RPA) is still a novelty to many developers. Here are some tips to get you on track with automation coding.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"4 Coding Best Practices Automation Developers Should Implement\" \/>\n<meta property=\"og:description\" content=\"Robotic Process Automation (RPA) is still a novelty to many developers. Here are some tips to get you on track with automation coding.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/\" \/>\n<meta property=\"og:site_name\" content=\"Codemotion Magazine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Codemotion.Italy\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-03T11:00:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-08T13:52:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"639\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Tammy Wood\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodemotionIT\" \/>\n<meta name=\"twitter:site\" content=\"@CodemotionIT\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tammy Wood\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/\"},\"author\":{\"name\":\"Tammy Wood\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/04f9f4d8cab88cf1101b1e89ea0867c2\"},\"headline\":\"4 Coding Best Practices Automation Developers Should Implement\",\"datePublished\":\"2021-09-03T11:00:56+00:00\",\"dateModified\":\"2022-07-08T13:52:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/\"},\"wordCount\":1268,\"publisher\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720.webp\",\"keywords\":[\"Low Code\"],\"articleSection\":[\"Backend\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/\",\"url\":\"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/\",\"name\":\"4 Coding Best Practices Automation Developers Should Implement -\",\"isPartOf\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720.webp\",\"datePublished\":\"2021-09-03T11:00:56+00:00\",\"dateModified\":\"2022-07-08T13:52:45+00:00\",\"description\":\"Robotic Process Automation (RPA) is still a novelty to many developers. Here are some tips to get you on track with automation coding.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/#primaryimage\",\"url\":\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720.webp\",\"contentUrl\":\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720.webp\",\"width\":960,\"height\":639},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.codemotion.com\/magazine\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Backend\",\"item\":\"https:\/\/www.codemotion.com\/magazine\/backend\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"4 Coding Best Practices Automation Developers Should Implement\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#website\",\"url\":\"https:\/\/www.codemotion.com\/magazine\/\",\"name\":\"Codemotion Magazine\",\"description\":\"We code the future. Together\",\"publisher\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.codemotion.com\/magazine\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#organization\",\"name\":\"Codemotion\",\"url\":\"https:\/\/www.codemotion.com\/magazine\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/codemotionlogo.png\",\"contentUrl\":\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/codemotionlogo.png\",\"width\":225,\"height\":225,\"caption\":\"Codemotion\"},\"image\":{\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Codemotion.Italy\/\",\"https:\/\/x.com\/CodemotionIT\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/04f9f4d8cab88cf1101b1e89ea0867c2\",\"name\":\"Tammy Wood\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c8f5ecf05ca96867d1127c0a5267b1b12b36a8f6955b7d422ce2ab9e77fcc691?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c8f5ecf05ca96867d1127c0a5267b1b12b36a8f6955b7d422ce2ab9e77fcc691?s=96&d=mm&r=g\",\"caption\":\"Tammy Wood\"},\"description\":\"Tammy Wood has been involved with SEO for two decades. Her current role is Director of Technical SEO for Automation Anywhere, an automation company specializing in RPA development. While not chasing keywords, Tammy enjoys reading, buying shoes and writing articles about both RPA and SEO.\",\"url\":\"https:\/\/www.codemotion.com\/magazine\/author\/tammy-wood\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"4 Coding Best Practices Automation Developers Should Implement -","description":"Robotic Process Automation (RPA) is still a novelty to many developers. Here are some tips to get you on track with automation coding.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/","og_locale":"en_US","og_type":"article","og_title":"4 Coding Best Practices Automation Developers Should Implement","og_description":"Robotic Process Automation (RPA) is still a novelty to many developers. Here are some tips to get you on track with automation coding.","og_url":"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/","og_site_name":"Codemotion Magazine","article_publisher":"https:\/\/www.facebook.com\/Codemotion.Italy\/","article_published_time":"2021-09-03T11:00:56+00:00","article_modified_time":"2022-07-08T13:52:45+00:00","og_image":[{"width":960,"height":639,"url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720.webp","type":"image\/webp"}],"author":"Tammy Wood","twitter_card":"summary_large_image","twitter_creator":"@CodemotionIT","twitter_site":"@CodemotionIT","twitter_misc":{"Written by":"Tammy Wood","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/#article","isPartOf":{"@id":"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/"},"author":{"name":"Tammy Wood","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/04f9f4d8cab88cf1101b1e89ea0867c2"},"headline":"4 Coding Best Practices Automation Developers Should Implement","datePublished":"2021-09-03T11:00:56+00:00","dateModified":"2022-07-08T13:52:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/"},"wordCount":1268,"publisher":{"@id":"https:\/\/www.codemotion.com\/magazine\/#organization"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720.webp","keywords":["Low Code"],"articleSection":["Backend"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/","url":"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/","name":"4 Coding Best Practices Automation Developers Should Implement -","isPartOf":{"@id":"https:\/\/www.codemotion.com\/magazine\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/#primaryimage"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720.webp","datePublished":"2021-09-03T11:00:56+00:00","dateModified":"2022-07-08T13:52:45+00:00","description":"Robotic Process Automation (RPA) is still a novelty to many developers. Here are some tips to get you on track with automation coding.","breadcrumb":{"@id":"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/#primaryimage","url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720.webp","contentUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720.webp","width":960,"height":639},{"@type":"BreadcrumbList","@id":"https:\/\/www.codemotion.com\/magazine\/backend\/automation-coding-best-practices\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.codemotion.com\/magazine\/"},{"@type":"ListItem","position":2,"name":"Backend","item":"https:\/\/www.codemotion.com\/magazine\/backend\/"},{"@type":"ListItem","position":3,"name":"4 Coding Best Practices Automation Developers Should Implement"}]},{"@type":"WebSite","@id":"https:\/\/www.codemotion.com\/magazine\/#website","url":"https:\/\/www.codemotion.com\/magazine\/","name":"Codemotion Magazine","description":"We code the future. Together","publisher":{"@id":"https:\/\/www.codemotion.com\/magazine\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.codemotion.com\/magazine\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.codemotion.com\/magazine\/#organization","name":"Codemotion","url":"https:\/\/www.codemotion.com\/magazine\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/logo\/image\/","url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/codemotionlogo.png","contentUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/codemotionlogo.png","width":225,"height":225,"caption":"Codemotion"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Codemotion.Italy\/","https:\/\/x.com\/CodemotionIT"]},{"@type":"Person","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/04f9f4d8cab88cf1101b1e89ea0867c2","name":"Tammy Wood","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c8f5ecf05ca96867d1127c0a5267b1b12b36a8f6955b7d422ce2ab9e77fcc691?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c8f5ecf05ca96867d1127c0a5267b1b12b36a8f6955b7d422ce2ab9e77fcc691?s=96&d=mm&r=g","caption":"Tammy Wood"},"description":"Tammy Wood has been involved with SEO for two decades. Her current role is Director of Technical SEO for Automation Anywhere, an automation company specializing in RPA development. While not chasing keywords, Tammy enjoys reading, buying shoes and writing articles about both RPA and SEO.","url":"https:\/\/www.codemotion.com\/magazine\/author\/tammy-wood\/"}]}},"featured_image_src":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720-600x400.webp","featured_image_src_square":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720-600x600.webp","author_info":{"display_name":"Tammy Wood","author_link":"https:\/\/www.codemotion.com\/magazine\/author\/tammy-wood\/"},"uagb_featured_image_src":{"full":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720.webp",960,639,false],"thumbnail":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720-150x150.webp",150,150,true],"medium":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720-300x200.webp",300,200,true],"medium_large":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720-768x511.webp",768,511,true],"large":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720.webp",960,639,false],"1536x1536":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720.webp",960,639,false],"2048x2048":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720.webp",960,639,false],"small-home-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720.webp",100,67,false],"sidebar-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720-180x128.webp",180,128,true],"genesis-singular-images":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720-896x504.webp",896,504,true],"archive-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720-400x225.webp",400,225,true],"gb-block-post-grid-landscape":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720-600x400.webp",600,400,true],"gb-block-post-grid-square":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2021\/09\/laptop-2557586_960_720-600x600.webp",600,600,true]},"uagb_author_info":{"display_name":"Tammy Wood","author_link":"https:\/\/www.codemotion.com\/magazine\/author\/tammy-wood\/"},"uagb_comment_info":0,"uagb_excerpt":"With Robotic Process Automation (RPA) now a common business process for a number of industries, developing automation software and programming bots is a rapidly growing sphere of software development. For developers working in the burgeoning field of automation coding, the relative novelty of the discipline means there are some conflicting opinions over what constitutes best&#8230;&hellip;","lang":"en","_links":{"self":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/16051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/users\/132"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/comments?post=16051"}],"version-history":[{"count":5,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/16051\/revisions"}],"predecessor-version":[{"id":18274,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/16051\/revisions\/18274"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/media\/16665"}],"wp:attachment":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/media?parent=16051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/categories?post=16051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/tags?post=16051"},{"taxonomy":"collections","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/collections?post=16051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}