Posts

Showing posts from March, 2015

Software Engineering: Rebuild and Simplify Complex Decision Blocks - Part 3

Image
______________________ 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...

Software Engineering: Rebuild and Simplify Complex Decision Blocks - Part 2

Image
______________________ 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 here will explain the C# solution and its engineering. Part three  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 C# solution essentially clones the Google Apps Script solution of part one , ...

Software Engineering: Rebuild and Simplify Complex Decision Blocks - Part 1

Image
______________________ 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 here will describe 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  will explain the C# solution and its engineering. Part three  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 th e  GitHub repository . ________________ A s we build software, sooner or later we'll have to deal with nasty conditional statements and structures. We...