About the author

Steven Harmansteven harman :: makes sweet software with computers!

For recent posts and more about me, scroll to the bottom.

Sponsors

Subscribe

  • Subscribe to my feed. via RSS
  • Subscribe via email via email

c

There are 3 entries for the tag c

ReSharper 4.0 EAP Nightly Builds are Now Available!

Ilya Ryzhenkov just announced (via in the #alt.net IRC channel) that the ReSharper 4.0 EAP nightly builds are now live! Oh, and apparently he hinted at the news yesterday but the bits didn't appear for download until today. Get the latest bits from the Nightly Builds site. I'd also recommend keeping an eye on the the ReSharper 4.0 EAP Notes for up to the minute information on the new 4.0 features. There is some seriously cool stuff in there - like Completion with CamelHumps! Superman, the yellow sun has risen once again! :)...

Ruby Has Ranges, and So Does C#

Creating a Range in Ruby is dead simple. 1: my_range = (1..10) 2:   3: my_range.each { |i| puts "My number is: #{i}." } Running that little snippet will do just what you think, push the numbers 1 through 10 out and shove them into the sentence my number is x. ...

Expectation Based Testing with Mocks

Last week I talked about Rubifying your C# code by adding the .Each() extension method to the IEnumerable<T> interface. I was discussing that code with one of the guys at work and he asked a brilliant question So, how did you test that? I was floored. Being such a test-first fan boy I couldn’t believe that I had failed to write that little extension method in a TDD manner. Hell, I hadn’t even done TAD! So how do I test it? There are no doubt a plethora of ways to test this...