Software Engineering: Rebuild and Simplify Complex Decision Blocks - Part 3
______________________ This three-part article shows how to rebuild and simplify complex if-then-else decision blocks, using string variables and switch (or case) statements. It will show how the technique works with sample applications built with Google Apps Script, C#, and VB.net. This technique should work in any language that handles string variables, switch statements, and boolean conditions. Part one described the problem to solve, the technique to solve it, a sample Google Apps Script to show the solution in action, and the engineering behind that solution. Part two expl ained the C# solution and its engineering. Part three here will describe the VB.net solution and its engineering. Download all the sample software behind this article - Google Apps Script, C#, and VB.net - from the GitHub repository . ________________ T he Windows desktop VB.net solution essentially clones the Google Apps Script solution of part...