The Windward Studio

Windward Blog Home

Programming in Practice

Technical articles for those interested in programming.


Posted on 08/25/2014

Learning basic SQL isn’t terribly difficult. Select fields from tables where my condition is met, and display them in this order. Awesome. 30 seconds and I’m done. Maybe I need a join, or I need to summarize with a group by clause. You start to get a little tricky with “having” vs. “where,” but it’s […] …read more

Please Share This




Posted on 08/20/2014

Want to speed up your code or you’re struggling with stack overflows? Often, refactoring a recursive loop into an iterative one is impossible. In these cases, you may find tail-end recursion to be useful. If implemented properly (and of course, provided your programming language supports it), your code will be optimized to be approximately as […] …read more

Please Share This




Posted on 08/11/2014

Interfaces in typescript are a very different thing from interfaces in C# and Java. Same name, but very different. And if you avoid using them in a way that would be normal in C#, TypeScript interfaces can be valuable. When Not to Use Interfaces When I first jumped into TypeScript I tried to use it […] …read more

Please Share This




Posted on 07/28/2014

Many years ago I wrote the book No Bugs! It is from a very different world from the one we work in today. Java & C# have eliminated entire classes of bugs discussed in the book. Unit tests have proven themselves to be a very powerful tool. And the debugging tools we have today – […] …read more

Please Share This




Posted on 07/18/2014

Interested in using the new ECMAScript 5 feature allowing assignment of new prototypes to instantiated objects? Read on to see how it performs! ECMAScript 5  has many new, exciting features, no doubt, but when using them, always make sure to consider potential compatibility issues and be wary of potential shortcuts. In one project we are currently working on, […] …read more

Please Share This