The Windward Studio

Windward Blog Home

Programming in Practice

Technical articles for those interested in programming.

Posted on 09/10/2014

Which JSON serializer should you use in your .NET application? If you do a little research, you will quickly find a lot of recommendations for NewtonSoft’s Json.NET. And for good reason: NewtonSoft’s Json.NET is easy to use and is supposedly the fastest. The Developer’s Tests Here’s what the developer touts (click on the image to […] …read more

Please Share This

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