{"id":5099,"date":"2025-05-20T09:07:37","date_gmt":"2025-05-20T09:07:37","guid":{"rendered":"https:\/\/webprojects.cloud\/wordpress\/splatco\/?page_id=5099"},"modified":"2025-07-11T12:20:35","modified_gmt":"2025-07-11T12:20:35","slug":"hot-tips","status":"publish","type":"page","link":"https:\/\/webprojects.cloud\/wordpress\/splatco\/hot-tips\/","title":{"rendered":"Hot Tips"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Failing to design is designing for failure<\/h3>\n\n\n\n<p>(With apologies to&nbsp;<a href=\"http:\/\/en.wikipedia.org\/wiki\/Alan_Lakein\" target=\"_blank\" rel=\"noreferrer noopener\">Alan Lakein<\/a>)If you are new to programming the temptation is to just get in there and &#8220;cut code&#8221;. It feels productive to have an impressive slab of code to show as quickly as possible. In fact, rushing in and cutting code straight off is the least productive thing you can do. Going straight to code is like starting to build a house by sawing up some timber and banging in some nails, without any plan or blueprint.<br><br>Before cutting a single line of code you need to have a very clear, preferably written, understanding of what the program is to do. Then you need a&nbsp;<em>design<\/em>. The design is essentially a plan that breaks the task at hand down into subtasks or functional blocks that are each responsible for some part of the overall program objective. Techniques you can use here are&nbsp;<a href=\"http:\/\/www.google.com\/search?q=flow+charts&amp;ie=UTF-8\" target=\"_blank\" rel=\"noreferrer noopener\">flow charts<\/a>,&nbsp;<a href=\"http:\/\/www.google.com\/search?q=state+diagrams&amp;ie=UTF-8\" target=\"_blank\" rel=\"noreferrer noopener\">state diagrams<\/a>,&nbsp;<a href=\"http:\/\/www.google.com\/search?q=decision+tables&amp;ie=UTF-8\" target=\"_blank\" rel=\"noreferrer noopener\">decision tables<\/a>&nbsp;or whatever else works for you. The vital point is to understand and map out the functionality&nbsp;<em>independently<\/em>&nbsp;of any code.<br><br>A well thought out design becomes not only a plan for generating the code. It is also a guide for testing and debugging. Later, if changes are required, the design becomes a map that allows you to find your way around the code and mentally test, in the abstract, the effects of proposed changes.<\/p>\n\n\n\n<p><a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/hottips\/\">More hot tips&#8230;<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Failing to design is designing for failure (With apologies to&nbsp;Alan Lakein)If you are new to programming the temptation is to just get in there and&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-5099","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Hot Tips - SPLat Controls<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hot Tips - SPLat Controls\" \/>\n<meta property=\"og:description\" content=\"Failing to design is designing for failure (With apologies to&nbsp;Alan Lakein)If you are new to programming the temptation is to just get in there and...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/hot-tips\/\" \/>\n<meta property=\"og:site_name\" content=\"SPLat Controls\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-11T12:20:35+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/hot-tips\/\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/hot-tips\/\",\"name\":\"Hot Tips - SPLat Controls\",\"isPartOf\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website\"},\"datePublished\":\"2025-05-20T09:07:37+00:00\",\"dateModified\":\"2025-07-11T12:20:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/hot-tips\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webprojects.cloud\/wordpress\/splatco\/hot-tips\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/hot-tips\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hot Tips\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\",\"name\":\"SPLat Controls\",\"description\":\"OEM Embedded Machine Controllers\",\"publisher\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization\",\"name\":\"SPLat Controls\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg\",\"contentUrl\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg\",\"caption\":\"SPLat Controls\"},\"image\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hot Tips - SPLat Controls","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Hot Tips - SPLat Controls","og_description":"Failing to design is designing for failure (With apologies to&nbsp;Alan Lakein)If you are new to programming the temptation is to just get in there and...","og_url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/hot-tips\/","og_site_name":"SPLat Controls","article_modified_time":"2025-07-11T12:20:35+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/hot-tips\/","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/hot-tips\/","name":"Hot Tips - SPLat Controls","isPartOf":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website"},"datePublished":"2025-05-20T09:07:37+00:00","dateModified":"2025-07-11T12:20:35+00:00","breadcrumb":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/hot-tips\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webprojects.cloud\/wordpress\/splatco\/hot-tips\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/hot-tips\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/"},{"@type":"ListItem","position":2,"name":"Hot Tips"}]},{"@type":"WebSite","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/","name":"SPLat Controls","description":"OEM Embedded Machine Controllers","publisher":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webprojects.cloud\/wordpress\/splatco\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization","name":"SPLat Controls","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg","contentUrl":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg","caption":"SPLat Controls"},"image":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/pages\/5099","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/comments?post=5099"}],"version-history":[{"count":2,"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/pages\/5099\/revisions"}],"predecessor-version":[{"id":6235,"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/pages\/5099\/revisions\/6235"}],"wp:attachment":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/media?parent=5099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}