About

I am a software developer in Seattle, building a new AI software company.

Ads

May 2012

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Ads


« Books and Software | Main | WPF Redux »

October 08, 2007

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8345242f069e200e54ef3c00c8833

Listed below are links to weblogs that reference Immutable Data Structures in C#:

Comments

damien morton

It would be nice if immutable data was supported in the C# language and the CLR.

Patrick Smacchia

Well done Wes, I also think that Immutable classes are a powerful tool that very few developers use. I'll certainly blog about it in the future.

Notice that I introduced the Keyword IsImmutable in CQL a few monthes ago that allows to constraint classes to be immutable with constraints like:

WARN IF Count != 1 IN SELECT TYPES WHERE !IsImmutable AND FullNameIs "MyClassThatShouldbeImmutable"

More info here:
http://s3.amazonaws.com/NDependOnlineDemos/NDependMultiThreadedApp_viewlet_swf.html

Patrick Smacchia

Oups, of course I meant:

WARN IF Count != 1 IN SELECT TYPES WHERE IsImmutable AND FullNameIs "MyClassThatShouldbeImmutable"

Patrick Smacchia

Oups, of course I meant:

WARN IF Count != 1 IN SELECT TYPES WHERE IsImmutable AND FullNameIs "MyClassThatShouldbeImmutable"

Wesner Moise

Cool, Patrick, your tool does awesome things.

The comments to this entry are closed.