in

 

Browse by Tags

  • Running your build/source code from a ram disk.

      As a test I wanted to run a build from a drive in ram rather than on a physical disk drive using the old Dos style Ram disk. For a trivial build that includes compilation, Asp.net compilation, database updates, unit test, and integration tests. I saw the build time decrease by 41%. That is pretty...
    Posted to Eric Hexter (Weblog) by erichexter on 07-21-2008
  • When a space isn't a space

    I ran into a scenario recently where this test failed: [ Test ] public void You_have_to_be_kidding_me() { string a = "You have to be kidding me " ; string b = "You have to be kidding me " ; a.ShouldEqual(b); } It took me quite a while to determine the problem, as it originally came...
    Posted to Jimmy Bogard (Weblog) by bogardj on 06-26-2008
  • Silverlight Beta 2 Released and what that means for the Testing Framework.

    ok.. So Silverlight Beta 2 was released on and it has some great new features. But what is the story about testing...? 1 Jeff Willcox blogged about a small change you will need to make in order to use the existing testing framework. It is essentially adding a cast to the initial startup code for the...
    Posted to Eric Hexter (Weblog) by erichexter on 06-08-2008
  • Some improved LINQ operators

    I ran across a couple of scenarios the other day that were made pretty difficult given the current LINQ query operators. First, I needed to see if an item existed in a collection. That's easy with the Contains method, when you want to find item that matches all the attributes you're looking for...
    Posted to Jimmy Bogard (Weblog) by bogardj on 06-07-2008
  • Forbidden Void type in C#

    I've had this come up a couple of times. I'd really like to be able to do something like this: Func < bool , Void > whyNot = test => Console .WriteLine(test); This is equivalent to: Action < bool > okThisWorks = test => Console .WriteLine(test); Although an actual Void type...
    Posted to Jimmy Bogard (Weblog) by bogardj on 06-05-2008
  • LINQ query operators: lose that foreach already!

    Now that .NET 3.5 is out with all its LINQ query operator goodness, I feel like going on a mean streak of trashing a lot of our (now) pointless foreach loops. Some example operations include: Transformations Aggregations Concatenations Filtering As I mentioned in my last post , temporary list creation...
    Posted to Jimmy Bogard (Weblog) by bogardj on 05-09-2008
  • Enhancing mappers with LINQ

    The "big 3" higher-order functions in functional programming are Filter, Map and Reduce. When looking at the new C# 3.0 LINQ query operators, we find that all three have equivalents : Filter = Where Map = Select Reduce = Aggregate Whenever you find yourself needing one of these three higher...
    Posted to Jimmy Bogard (Weblog) by bogardj on 05-08-2008
  • Silverlight Testing - Part 1 - Testing the untested.

    The Silverlight testing framework was recently released and shows some great potential for being a first class application platform. For more information about the test framework see this post from Jeff Wilcox . To start off I choose to use a code sample that had some complexity in it. Brad Abrams just...
    Posted to Eric Hexter (Weblog) by erichexter on 04-20-2008
  • PTOM: Single Responsibility Principle

    The Single Responsibility Principle This post is about the first letter in Uncle Bob's SOLID acronym, Single Responsibility Principle , and a continuation of The Los Techies Pablo's Topic of the Month - March: SOLID Principles . Sean has already posted on this, but I'd like to "contribute"...
    Posted to Jason Meridth (Weblog) by Jason Meridth on 03-29-2008
  • Stop creating custom delegate types

    Note to OSS and framework developers: Please stop creating custom delegate types. Use the Action and Func delegates instead. The problem is that delegate types with the same signature are not convertible to each other. For example, none of these assignments will work: public delegate bool CustomMatchingFunction...
    Posted to Jimmy Bogard (Weblog) by bogardj on 03-26-2008
Page 1 of 6 (52 items) 1 2 3 4 5 Next > ... Last ยป
Copyright Los Techies 2007. All rights reserved.
Powered by Community Server (Commercial Edition), by Telligent Systems