CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Greg Young [MVP]

January 2008 - Posts

  • Syntactical Molasses

    There are some things about C#'s syntax that really get to me. Here is one of them.. I just hate the way it reads and makes the intention of the code so much more difficult to understand.

     

    [Test, ExpectedException(typeof(ArgumentNullException))]
    public void GetAllFilesMatching_With_NullPath_ThrowsArgumentNullException()
    {
        foreach (string s in DirectoryWalker.GetAllFilesMatching(null, AlwaysTruePredicate)) { }
    }

     

     

    Yuck... Whats your favorite Syntactical Molasses in C#?

  • Rails is a ghetto

    I almost never post just a link but wow! http://www.zedshaw.com/rants/rails_is_a_ghetto.html

    of particular interest should be the advice to someone hiring consultants because some of it is dead on.

More Posts