{"id":302,"date":"2013-05-28T05:53:58","date_gmt":"2013-05-28T05:53:58","guid":{"rendered":"http:\/\/elbsolutions.com\/projects\/?p=302"},"modified":"2022-02-03T11:25:04","modified_gmt":"2022-02-03T17:25:04","slug":"bentley-autoplant-codin-best-practices","status":"publish","type":"post","link":"https:\/\/elbsolutions.com\/projects\/bentley-autoplant-codin-best-practices\/","title":{"rendered":"Bentley AutoPLANT coding best practices"},"content":{"rendered":"<ul>\n<li>comment lines. There can be too much &#8211; but not likely &#8211; comment, comment comment<\/li>\n<li>use camelCase for variables &#8211; classes &#8211; use a capital letter to start\n<ul>\n<li>avoid underscores<\/li>\n<li>never use spaces<\/li>\n<\/ul>\n<\/li>\n<li>prefix all functions with elb_ or your company name<\/li>\n<li>document with pictures\n<ul>\n<li>use a blog<\/li>\n<li>if you store pictures, do so in an easy to transport tool like powerpoint &#8211; because everyone has this as a tool<\/li>\n<\/ul>\n<\/li>\n<li>all code should be version controlled. If you don&#8217;t have one, download SourceTree a github.<\/li>\n<li>where possible feed in only human understandable variables -the least possible\n<ul>\n<li>these variables should be well documented via a blog and this url linked into the code comments at the top.<\/li>\n<li>let your computer program do all the hard work with math<\/li>\n<li>there will be some hardcoding like the thickness of a peice of metal &#8211; however, with &#8220;hardcoding&#8221;\n<ul>\n<li>avoid it when possible<\/li>\n<li>never hardcode in-line but abstract a niceVariableNameWithCamelCase and then assign the hardcoding to that. Use this variable over and over.<\/li>\n<li>put all you hardcoded variables at the top of your routine<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>comment lines. There can be too much &#8211; but not likely &#8211; comment, comment comment use camelCase for variables &#8211; classes &#8211; use a capital letter to start avoid underscores never use spaces prefix all functions with elb_ or your company name document with pictures use a blog if you store pictures, do so in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-302","post","type-post","status-publish","format-standard","hentry","category-bentley-autoplant"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Bentley AutoPLANT coding best practices - ELB Solutions.com Inc.<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elbsolutions.com\/projects\/bentley-autoplant-codin-best-practices\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bentley AutoPLANT coding best practices - ELB Solutions.com Inc.\" \/>\n<meta property=\"og:description\" content=\"comment lines. There can be too much &#8211; but not likely &#8211; comment, comment comment use camelCase for variables &#8211; classes &#8211; use a capital letter to start avoid underscores never use spaces prefix all functions with elb_ or your company name document with pictures use a blog if you store pictures, do so in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elbsolutions.com\/projects\/bentley-autoplant-codin-best-practices\/\" \/>\n<meta property=\"og:site_name\" content=\"ELB Solutions.com Inc.\" \/>\n<meta property=\"article:published_time\" content=\"2013-05-28T05:53:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-03T17:25:04+00:00\" \/>\n<meta name=\"author\" content=\"Etienne Bley\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Etienne Bley\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/bentley-autoplant-codin-best-practices\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/bentley-autoplant-codin-best-practices\\\/\"},\"author\":{\"name\":\"Etienne Bley\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"headline\":\"Bentley AutoPLANT coding best practices\",\"datePublished\":\"2013-05-28T05:53:58+00:00\",\"dateModified\":\"2022-02-03T17:25:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/bentley-autoplant-codin-best-practices\\\/\"},\"wordCount\":185,\"articleSection\":[\"B-AutoPLANT\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/bentley-autoplant-codin-best-practices\\\/\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/bentley-autoplant-codin-best-practices\\\/\",\"name\":\"Bentley AutoPLANT coding best practices - ELB Solutions.com Inc.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\"},\"datePublished\":\"2013-05-28T05:53:58+00:00\",\"dateModified\":\"2022-02-03T17:25:04+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/bentley-autoplant-codin-best-practices\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/bentley-autoplant-codin-best-practices\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/bentley-autoplant-codin-best-practices\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bentley AutoPLANT coding best practices\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\",\"name\":\"ELB Solutions.com Inc.\",\"description\":\"Bringing all your IT Pieces together\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\",\"name\":\"Etienne Bley\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"caption\":\"Etienne Bley\"},\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/author\\\/etienne-bley\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bentley AutoPLANT coding best practices - ELB Solutions.com Inc.","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:\/\/elbsolutions.com\/projects\/bentley-autoplant-codin-best-practices\/","og_locale":"en_US","og_type":"article","og_title":"Bentley AutoPLANT coding best practices - ELB Solutions.com Inc.","og_description":"comment lines. There can be too much &#8211; but not likely &#8211; comment, comment comment use camelCase for variables &#8211; classes &#8211; use a capital letter to start avoid underscores never use spaces prefix all functions with elb_ or your company name document with pictures use a blog if you store pictures, do so in [&hellip;]","og_url":"https:\/\/elbsolutions.com\/projects\/bentley-autoplant-codin-best-practices\/","og_site_name":"ELB Solutions.com Inc.","article_published_time":"2013-05-28T05:53:58+00:00","article_modified_time":"2022-02-03T17:25:04+00:00","author":"Etienne Bley","twitter_misc":{"Written by":"Etienne Bley","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elbsolutions.com\/projects\/bentley-autoplant-codin-best-practices\/#article","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/bentley-autoplant-codin-best-practices\/"},"author":{"name":"Etienne Bley","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"headline":"Bentley AutoPLANT coding best practices","datePublished":"2013-05-28T05:53:58+00:00","dateModified":"2022-02-03T17:25:04+00:00","mainEntityOfPage":{"@id":"https:\/\/elbsolutions.com\/projects\/bentley-autoplant-codin-best-practices\/"},"wordCount":185,"articleSection":["B-AutoPLANT"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elbsolutions.com\/projects\/bentley-autoplant-codin-best-practices\/","url":"https:\/\/elbsolutions.com\/projects\/bentley-autoplant-codin-best-practices\/","name":"Bentley AutoPLANT coding best practices - ELB Solutions.com Inc.","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/#website"},"datePublished":"2013-05-28T05:53:58+00:00","dateModified":"2022-02-03T17:25:04+00:00","author":{"@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"breadcrumb":{"@id":"https:\/\/elbsolutions.com\/projects\/bentley-autoplant-codin-best-practices\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elbsolutions.com\/projects\/bentley-autoplant-codin-best-practices\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/elbsolutions.com\/projects\/bentley-autoplant-codin-best-practices\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elbsolutions.com\/projects\/"},{"@type":"ListItem","position":2,"name":"Bentley AutoPLANT coding best practices"}]},{"@type":"WebSite","@id":"https:\/\/elbsolutions.com\/projects\/#website","url":"https:\/\/elbsolutions.com\/projects\/","name":"ELB Solutions.com Inc.","description":"Bringing all your IT Pieces together","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elbsolutions.com\/projects\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39","name":"Etienne Bley","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","caption":"Etienne Bley"},"url":"https:\/\/elbsolutions.com\/projects\/author\/etienne-bley\/"}]}},"_links":{"self":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/comments?post=302"}],"version-history":[{"count":3,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/302\/revisions"}],"predecessor-version":[{"id":2854,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/302\/revisions\/2854"}],"wp:attachment":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/media?parent=302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/categories?post=302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/tags?post=302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}