sfeldman.NET

.NET, code, personal thoughts

  • MbUnit–Hidden Gem

    Row tests are fun. You can simulate various inputs with expected outputs and execute them all with a single observation (test). The problem for myself was always the fact that when this was done, the only way to accomplish it was to merge the logical because which operates on system under test behaviour and the observation itself (assertion). This leads to a slightly less readable code IMO.

  • C# 4.0 in a Nutshell–Book

    imageI like to refresh my memory on the basics. A lot of times you’ll look at something that you already know slightly different every single time. So is true with this book. It’s a great reference for C# as well as cover for the new features introduced in 4.0 (one of those I have already blogged about).

  • Drive–Book

    It started with Jonathan talking about the video he saw, Drive: The surprising truthimage about what motivates us. I really liked it, and decided to proceed to the book. The book is outstanding, hits in the target. Among other things, I can definitely use it to explain a good portion of things that happened to me in the past. What is interesting, is what Daniel Pink describes as “Drive”, Mihaly Csikszentmihalyi describes as “Flow” (another book to read). I really liked the language and associations Pink has used in the book – software and computers. This makes analogies and examples extremely simple. Good read.

  • ReSharper Test Runner is SLOW

    I love R#. It’s a great Add-on that makes Visual Studio .NET a usable tool. What I don’t like about R# is it’s test runner – so slow… I switched to use TestDriven.NET almost two years ago. In the last few weeks had to go back to R# test runner. What a difference. I tried to capture the difference on a video, so that you’d see the difference between R# test runner, TD.NET, and command line build script that does everything (compile and test). By the looks of it, R# takes about the same time as command line script. A tool that does literally miracles with VS.NET should be a bit snappier IMO.

  • Time to Move On

    So now it’s official. After 2 year with Cortex I am leaving. It was an extremely interesting period in my professional life. I was given an opportunity to work with so many great people and an outstanding group of developers, build a great team, exercise TDD/BDD development, experiment with agile processes, design and build systems that evolved the company business in electronic procurement and supply chain management. Among many other things that I could list here, I learned a big deal of human-related skills. In the business of software and computers, human skills are still one of the most important commodities that striving to acquire is necessary for any software developer that wants to be successful.

  • dynamic in the Wild

    Today Jonathan and myself worked on a RESTful service that is responsible to create a new invoice. The design decision was to return HTTP status code 409 (Conflict) in case client tries to add more than once the same invoice. The code looked like this: