Type-safe collections in C#

Here is one more nice design discussion from O'Reilly Network about building type-safe arrays and hashtables on top of the type-unsafe implementations provided by the framework.
All the solutions evaluated have some issues, and generic types are mentioned as a solution.

For other angles on type safety and genericity:
- O'Caml is a safe and strongly typed language with polymorphic inferred types.
- Microsoft Research has a .NET Generics project. Apparently, the next version of C# may include Generics, as mentioned in this GotDotNet article on future C# features. This article also mentions Iterators, Anonymous methods and Partial types.
- Here is a partial .NET implementation of O'Caml, called F#, by Microsoft Research.

Posted by Julien on March 31, 2003. Permalink
Comments
Trackbacks
Generics in the clr
Excerpt: TITLE: Generics in the clr URL: http://weblogs.asp.net/yosit/posts/9164.aspx IP: 66.129.67.203 BLOG NAME: Yosi Taguri's WebLog DATE: 06/23/2003 01:52:45 PM
Weblog: Yosi Taguri's WebLog
Tracked: June 23, 2003 01:52 PM
Comments are closed. You can contact me by email.