Code

The following articles come with code downloads. To get the code downloads, click on the article titles, then click on the Code Download button.



Initialize Member Variables in the Order You Declare Them

In part 4 of this series on the C++ Core Guidelines, Kate Gregory reminds you of an oddity in C++ when it comes to initializing member variables, and shows you a best practice that will make sure this oddity never hurts you.

How To Programmatically Customize iOS Keyboards with C#

Developers will always look to customize everything, and keyboards aren't out of bounds. Here's how to customize the iOS keyboard that pops up in your mobile apps to address any shortcomings.

Build Interactive Tiles for Microsoft Band

Now that you know how to communicate with the Band apps, here's another twist. Let's get interactive.

Choosing the Right Constructors to Write

In part 3 of this series on the C++ Core Guidelines, we explore constructors and why, rather than writing a default constructor, you should use in-class member initializers, a feature added in C++ 11.

Classic Stats, Or What ANOVA with R Is All About

New to this type of analysis? It's a classic statistics technique that is still useful. Here's a technique for doing a one-way ANOVA using R.

Don't Cast Away Const

Too few C++ developers use const properly, or enough. A seemingly-strange guideline, suggesting you never use a particular language feature, leads to some insight about const and some good practices for you.

Text Processing, Type Definition, I/O and Visualization in F#

What you can do with most programming languages can be accomplished in F#'s functional programming paradigm. Here's how to handle some simple operations, which might look familiar to you already.

Program-Defined Functions in R

The three most common open source technologies for writing data science programs are Python, SciLab, and R. Here's how to write program-defined functions in R.

How To Drill Into Problems with Xamarin Insights

Here's a nifty tool that can help you get to the heart of issues in your mobile apps that aren't easy to track down.

Chi-Square Tests Using R

R is the perfect language for creating a variety of chi-square tests, which are used to perform statistical analyses of counts of data. Here's how, with some sample code.

Slimming iOS and Android Pics for Mobility

Pictures are worth a thousand words, and some can be storage-hungry, which can be bad for mobile apps and sites. Here's a trick for slimming them down.

Functional Programming, the .NET Way, Part 2

We looked at the basic features of functional programming with Visual F#. In this second part, we take it a bit farther and look at creating anonymous functions, pattern matching, and other features of F#.

ServiceStack and Razor Forms

ServiceStack moves to a complete Web application framework with support for Razor forms.

Functional Programming, the .NET Way

The functional programming paradigm, which has been around for decades, has never gone out of style. In this two-part series, we look at Microsoft's implementation, Visual F#.

Xamarin 4 Improvements: Worth Upgrading?

Like a mobile force, Xamarin 4 awakens. So upgrade now, especially if you're a Visual Studio developer and building apps for iOS.

Upcoming Events

.NET Insight

Sign up for our newsletter.

I agree to this site's Privacy Policy.