[Mono-dev] Offtopic: C5 and class design

Brian Crowell mono-devel at fluggo.com
Mon Oct 2 12:13:17 EDT 2006


Jonathan Pryor wrote:
> Look at the Mono.C5 assembly, which contains many of these special
> collections classes.  Though I don't see what's wrong with the
> System.Collections & System.Collections.Generic types.  Sure, there's no
> Set<T>, but Dictionary<K,V> suffices, just use the keys as a set.

I've never seen that library before. What a wacky collection!

Has anyone noticed how a lot of projects, when designing object-oriented 
frameworks, tend to ignore principles of keep-it-simple? I'm all for powerful 
classes, but I try to keep them small.

I could write volumes about the errors of frameworks like Crystal Space or OGRE 
(game "engines"). C5 is better off than most libraries, but I still see them 
using protected fields (ick!), and there's something to be said for consistent 
naming.

--Brian



More information about the Mono-devel-list mailing list