Programming Articles

We’re curious people by nature. And we love to teach others what we’ve learned. So explore our blog to gain fresh insights from our expertise in areas ranging from culture to AI.

SEP Wins TechPoint’s 2024 Innovation Service Partner of the Year Mira Award

SEP Recognized as Indiana’s Top Innovation Service Partner, Winning TechPoint’s Prestigious Mira Award Westfield, Indiana - SEP has been named the Innovation Service Partner of the Year by TechPoint at the 25th annual Mira Awards. The Mira Awards, Indiana’s largest…
Read Full Post

Syntax Highlighting for Technical Presentations

Ever wanted a quick/easy/automated way to get syntax highlighted code from your editor of choice into PowerPoint? EVERY time I do a technical presentation I need this.  Usually I resort to taking a screenshot, or finding an “export to html” type plugin for the editor I’m using at the time (Visual Studio, Vim, IntelliJ IDEA, […]
Read Full Post
SEP hex pattern overlay of person working on laptop

Teaching StructureMap About C# 4.0 Optional Parameters and Default Values

This week I ran into wanting to use C# 4.0 optional parameters, but wanted StructureMap (my IoC tool of choice) to respect the default value specified for those optional parameters. The Problem In this example, we’ll be pulling a command out of the container.  The important part is the optional constructor parameter (level), and it’s […]
Read Full Post

Default Value

In .NET we’ve got this cool little language construct called default, that’ll give you the default value for any given type.  That is, null, for any reference type, or zero/false/DateTime.Min/etc. for value types. Here it is in action (nothing amazing going on here): var x =default(DateTime); So what if you don’t know the type you […]
Read Full Post

Don’t Single Me out!

In my few days of being a developer, I’ve heard and seen lots of talk about Singletons.  Things like Singletons are teh suck.  Don’t use them.  EVAR. to Singleton’s saved my life and marriage! In fact, I might’ve been the person that said both of these… gasp! I never like to speak in absolutes, so […]
Read Full Post