What's New With Data Structures In C# 38
Posted
by
timothy
from the boy-are-my-lips-tired dept.
from the boy-are-my-lips-tired dept.
|
|
|
Let's all show human CONCERN for REVERAND MOON's legal difficulties!!
Re:Yeah, good luck with that! (Score:2)
It's there:
http://slashdot.org/index.pl?section=developers [slashdot.org]
No Fibonacci Heap? (Score:2, Insightful)
Re:No Fibonacci Heap? (Score:4, Interesting)
Re:No Fibonacci Heap? (Score:1, Funny)
Maybe they should have spent more time designing and coding instead of blogging.
Re:No Fibonacci Heap? (Score:5, Insightful)
On the other hand, AVL trees get used all over the place (red-black trees being a typical backing data structure for an ordered map).
Kind of introductionary level (Score:5, Insightful)
Re:Kind of introductionary level (Score:1, Insightful)
"People who do not understand the difference between a set and a list, should not even be allowed to be involved in any part of the development cycle of an arbitrary information system or computer application."
Gotta start somewhere.
What about the kids just headed to university who want a quick start? What about people just interested in these like project managers who ar
Re:Kind of introductionary level (Score:1, Offtopic)
Re:Kind of introductionary level (Score:2)
Re:Kind of introductionary level (Score:1)
Never trust a Gorean to design your data structure (Score:2)
"Too, there are unique challenges with representing and operating upon infinite sets, because an infinite set's contents cannot be completely stored in a data structure or enumerated."
Compare eg Houseplants of Gor [sexuality.org].
(And yes, it's not terrifically advanced, and disappointingly free of C#-specific enlightenment...)
maddening (Score:5, Interesting)
In the time it took this guy to write the article, perhaps he could have added these data structures to C#/.NET's laughably impoverished System.Collections class. The big thing in the new, upcoming version 2.0 is that they're introducing, wait for it, linked lists.
Still no sign of anything resembling a set/multiset, or a tree structure, let alone something like a heap. The documentation is equally sad, making no mention of big-O complexity. The comparison with Java, both in content and documentation, is depressing.
I like C# as a language, but the CS illiteracy of the libraries is annoying and inconvenient. The lack of a concept of a tree means that there's no automatic way to show an XML DOM tree with a TreeControl. They both have independently-developed, incompatible, although largely equivalent, tree representations.
Also, note that the SortedList class does not implement the IList interface, and none of the shipped System.Collections classes implement their own CollectionBase.
Re:maddening (Score:2, Informative)
LinkedList
Queue
SortedList
Stack
TreeDicti
in Systems.Collections.Generic - not extensive perhaps - but a little more than your post implies.
Re:maddening (Score:2)
Re:maddening (Score:3, Informative)
Re:maddening (Score:2)
Huh? (Score:2)
Maybe I was reading the wrong set of articles, but I could have sworn that he specificially mentioned multiple tree structures, sets, and graphs as new data structures that were being added in .NET 2.0. And there was plenty of mention of big-O in the discussion of the performance of various data structures.
So far (Score:5, Informative)
The current framework (1.0 and 1.1) don't come with any standard data structures apart from ArrayList and Collections. 2.0 is the first version of the framework to "feature" these common structures. These articles are a good guide to the new additions. They also show generics in action. Which is also a new addition.
Finally, there are some *practical* examples of how to use the structures in day to day scenarios.
Certainly, no ground breaking theory here; then again that wasn't the point.
Over a hundred pages? (Score:1, Funny)
Parameterized properties? (Score:2)