Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
The
Stream
you're talking about comes from the definition often used in functional languages, except that nobody else usesStream
in that manner. WhatStream
means by them and every other language is actuallyPipes
in Haskell: A data structure-y thing able to act as aProducer
(generator),Consumer
(iteratee),Pipe
or stuff.Anyways: https://msdn.microsoft.com/en-us/library/system.io.stream(v=vs.110).aspx
The most used
Stream
s in C# areMemoryStream
(a Stream held in memory, for reading from other arbitrary streams that might have be and ) andFileStream
. Lots of other libraries and such implement their ownStream
s too, because data transfer in C# are very often utilized byStream
classes, and thatStream
s are much more widely used than in, say, Java.I'm not too familiar with C#. Could you give some examples?
Don't forget that C# has various
Stream
s too ;-)That's not entirely correct. A
Stream
is an immutable data structure that includes lazy evaluation and sharing. It does not try to model an iterator (although you probably could provide one), it models infinite sequences.A little modification is done. I think it is quite understandable now. Let me know what part is confusing to you?
It is still pretty bad
Thanks for feedback. Some modifiction have been added.