James Michael Hare

...hare-brained ideas from the realm of software development...
posts - 166 , comments - 1458 , trackbacks - 0

My Links

News

Welcome to my blog! I'm a Sr. Software Development Engineer in the Seattle area, who has been performing C++/C#/Java development for over 20 years, but have definitely learned that there is always more to learn!

All thoughts and opinions expressed in my blog and my comments are my own and do not represent the thoughts of my employer.

Blogs I Read

Follow BlkRabbitCoder on Twitter

Tag Cloud

Article Categories

Archives

Post Categories

Image Galleries

.NET

CSharp

Little Wonders

Little Wonders

vNext

May 2015 Entries

Little Puzzlers–Validate a Sudoku Board
I like to keep my brain sharp by working on programming puzzlers. On off weeks I'm going to start posting programming puzzlers I've collected over the years. Hopefully you'll find them as entertaining as I do. This one is a more straight-forward puzzler. There’s no gotcha or “ah-hah” moment in solving this, it’s just an exercise in coding. I’ll try to vary up the difficulty level of problems so they’re not all easy and not all brain-busters… The Problem Given a 2d 9 x 9 array of char representing ......

Posted On Tuesday, May 19, 2015 7:23 PM | Comments (10) |

C#/.NET Little Wonders: Expression-Bodied Members in C# 6
Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my past little wonders posts can be found here. Visual Studio 2015 is on the horizon! In fact, some of you may already have played with the preview and seen some of the many neat new things to come – both in the IDE and in the C# language. Note: All of the C# 6 features mentioned are current with the latest ......

Posted On Thursday, May 14, 2015 7:08 PM | Comments (3) |

Solution to Little Puzzlers–Positive Integer to Roman Numerals
This is the way I went about the "Positive Integer to Roman Numerals” problem. However, keep in mind there are multiple ways to solve this, so don't worry if your solution has variations and it’s entirely possible there are more efficient ways. Feel free to suggest your solution in the comments here or in the original post, but please be respectful of others efforts. My Approach My approach was fairly straight-forward. I simply built a “table” of denominations to the symbol that represents that denomination ......

Posted On Monday, May 11, 2015 4:49 PM | Comments (1) |

C#/.NET Little Wonders: Indexer Initializer Syntax
Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my past little wonders posts can be found here. Visual Studio 2015 is on the horizon! In fact, some of you may already have played with the preview and seen some of the many neat new things to come – both in the IDE and in the C# language. As with many of these posts, I started off thinking this was going to ......

Posted On Friday, May 8, 2015 12:57 AM | Comments (2) |

Little Puzzlers–Positive Integer to Roman Numerals
I like to keep my brain sharp by working on programming puzzlers. On off weeks I'm going to start posting programming puzzlers I've collected over the years. Hopefully you'll find them as entertaining as I do. There’s really no “ah-hah!” moment with this problem, but it is still – I find – a good programming problem for seeing how well a candidate’s mind works in structuring logic and finding patterns. The Problem Given a positive integer (i.e. > 0), please return a string representation of that ......

Posted On Tuesday, May 5, 2015 2:48 AM | Comments (15) |

Powered by: