Latest Stories
(SUMMARY) Back in November, someone asked a question on StackOverflow about converting arbitrary binary data (in the form of a byte array) to a string. I know this because I make it a habit to read randomly selected questions in StackOverflow written in...
(SUMMARY) Suppose you have a test that needs to compare strings. Most test frameworks do a fine job with their default equality assertion. But once in a while, you get a case like this: [Fact] public void SomeTest() { Assert.Equal( "Hard \tto\ncompare " ,...
(SUMMARY) In the ASP.NET MVC 3 Uservoice site, one of the most voted up items is a suggestion to include an empty project template . No, a really empty project template. You see, ASP.NET MVC 3 includes an “empty” project template, but it’s not empty enough for...
(SUMMARY) Mary Poppendieck writes the following in Unjust Deserts (pdf) , a paper on compensation systems (emphasis mine), There is no greater de-motivator than a reward system that is perceived to be unfair. It doesn’t matter if the system is fair or not. If...
(SUMMARY) In the past, I’ve tried various schemes to structure my unit tests but never fell into a consistent approach. Pretty much the only rule I had (which I broke all the time) was to write a test class for each class I tested. I would then fill that class...
(SUMMARY) Happy New Year’s Eve everyone! And by the time you read this, it’ll probably already be the new year. To my friends across the international date line, what is 2012 like? The rest of us will be there soon. New Year’s Eve has always been one of my...
(SUMMARY) T’is the season for “Year in Review” and “Best of” blog posts. It’s a vain practice, to be sure. This is exactly why I’ve done it almost every year ! After all, isn’t all blogging pure vanity ? Sadly, I did miss a few years when my vanity could not...
|
NEW! Sunday Magazine
Your news, every week in a magazine!
View on computer or iPad. Click above to read now.
Sections
Content is continually updated throughout the day. Articles are provided by third
party sources who are responsible for their content.
|