Browse by Tags

Related Posts

  • Spec# in the Real World

    Now that I have the time for it, I'm going through a lot of material I've been collecting in my To Read folder over the past year or so. One of the videos I watched is Mike Barnett's talk about Spec# at the recent Lang.NET Symposium . What Spec# does, in a few words, is to add contracts to your code...
    Posted to Omer van Kloeten's .NET Zen (Weblog) by Omer van Kloeten on 10-24-2006, 12:00 AM
    Filed under: 2 ⅛s, C#
  • Opinion: Collection Initializers Syntax

    Mads Torgersen wrote last month in his weblog about how collections are identified by C# 3.0's new feature - Collection Initializers. You should go read what they are - good stuff. I'd like to address one of the side-topics in his post - overload selection. Let's take Mads's example: public class Plurals...
    Posted to Omer van Kloeten's .NET Zen (Weblog) by Omer van Kloeten on 11-14-2006, 12:00 AM
    Filed under: 2 ⅛s, C#
  • Two Notes About Anonymous Types

    The example of anonymous types from the C# 3.0 specification document is as follows: class __Anonymous1 { private T1 f1 ; private T2 f2 ; // … private Tn fn ; public T1 p1 { get { return f1 ; } set { f1 = value ; } } public T2 p2 { get { return f2 ; } set { f2 = value ; } } // … public Tn pn { get {...
    Posted to Omer van Kloeten's .NET Zen (Weblog) by Omer van Kloeten on 04-12-2007, 12:00 AM
    Filed under: Ideas, 2 ⅛s, C#
  • Extending the Idea of Extension Methods

    I've had my fair share of disappointments when I found that the closest common denominator between types I wanted to use was object , leading me to write code in a level I did not like, like: class A; // A and B are both imported classes with no class B; // common denominator except for object. class...
    Posted to Omer van Kloeten's .NET Zen (Weblog) by Omer van Kloeten on 04-12-2007, 12:00 AM
    Filed under: Ideas, 2 ⅛s, C#
  • Extension Methods and Trust

    As much as I love the idea behind extension methods , I can't help but start to think about how it could be used for malicious purposes. Take this scenario: You're a disgruntled employee of Evil Inc., the makers of the well known library VeryUsefulAssemblies.NET. I'm a developer at Good & co., using...
    Posted to Omer van Kloeten's .NET Zen (Weblog) by Omer van Kloeten on 04-14-2007, 12:00 AM
    Filed under: Karma, 2 ⅛s, C#, Orcas
  • Extension Methods and Trust

    As much as I love the idea behind extension methods , I can't help but start to think about how it could be used for malicious purposes. Take this scenario: You're a disgruntled employee of Evil Inc., the makers of the well known library VeryUsefulAssemblies.NET. I'm a developer at Good & co., using...
    Posted to Omer van Kloeten's .NET Zen (Weblog) by Omer van Kloeten on 04-14-2007, 12:00 AM
    Filed under: Karma, 2 ⅛s, C#, Orcas
  • Extending the Idea of Extension Methods

    I've had my fair share of disappointments when I found that the closest common denominator between types I wanted to use was object , leading me to write code in a level I did not like, like: class A; // A and B are both imported classes with no class B; // common denominator except for object. class...
    Posted to Omer van Kloeten's .NET Zen (Weblog) by Omer van Kloeten on 04-12-2007, 12:00 AM
    Filed under: Ideas, 2 ⅛s, C#
  • Two Notes About Anonymous Types

    The example of anonymous types from the C# 3.0 specification document is as follows: class __Anonymous1 { private T1 f1 ; private T2 f2 ; // … private Tn fn ; public T1 p1 { get { return f1 ; } set { f1 = value ; } } public T2 p2 { get { return f2 ; } set { f2 = value ; } } // … public Tn pn { get {...
    Posted to Omer van Kloeten's .NET Zen (Weblog) by Omer van Kloeten on 04-12-2007, 12:00 AM
    Filed under: Ideas, 2 ⅛s, C#
  • Opinion: Collection Initializers Syntax

    Mads Torgersen wrote last month in his weblog about how collections are identified by C# 3.0's new feature - Collection Initializers. You should go read what they are - good stuff. I'd like to address one of the side-topics in his post - overload selection. Let's take Mads's example: public class Plurals...
    Posted to Omer van Kloeten's .NET Zen (Weblog) by Omer van Kloeten on 11-14-2006, 12:00 AM
    Filed under: 2 ⅛s, C#
  • Spec# in the Real World

    Now that I have the time for it, I'm going through a lot of material I've been collecting in my To Read folder over the past year or so. One of the videos I watched is Mike Barnett's talk about Spec# at the recent Lang.NET Symposium . What Spec# does, in a few words, is to add contracts to your code...
    Posted to Omer van Kloeten's .NET Zen (Weblog) by Omer van Kloeten on 10-24-2006, 12:00 AM
    Filed under: 2 ⅛s, C#
Page 1 of 1 (10 items)
Page view counter