Programming in Practice
Technical articles for those interested in programming.
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
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
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
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
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