Re: limited types (Was: Records that could be arrays)



On Mon, 27 Feb 2006 15:34:58 +0100, Georg Bauhaus wrote:

Dmitry A. Kazakov wrote:
On Sun, 26 Feb 2006 22:07:00 GMT, Matthew Heaney wrote:

Write your algorithms in terms of sequences of elements instead of containers,
and you can forget about containers.

No, thanks. If I wished that sort of untyped design, there would be C++ and
dynamically typed languages at my disposal. I don't want untyped
containers. I would keep boxes for apples and barrels for herrings in
separate rooms.

What kind of operations on containers do you have in mind,
as opposed to operations focussing on their elements?

1. Passing as a parameter
2. Copying
3. Merging
4. Slicing
5. Closures and simultaneous traversal of two or more containers
6. Relational operations on sets of containers
....

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.



Relevant Pages

  • Re: limited types (Was: Records that could be arrays)
    ... and you can forget about containers. ... If I wished that sort of untyped design, ... as opposed to operations focussing on their elements? ...
    (comp.lang.ada)
  • Re: Alternative to Bread
    ... > I'm no sort of expert at this sort of thing, but I do love food:) ... red pepper, anchovy paste, modified maize starch and cracked black pepper. ... Any suitable containers available for a small ...
    (uk.rec.walking)
  • Re: Gordon and food waste
    ... that empty from the bottom, with a sort of tap device, or one of those ... aisle by the time Mike and I had managed to get another bag over the leak! ... so you need to have little containers into which you put ...
    (uk.media.radio.archers)
  • it was a dark and stormy night
    ... which were not the off-brand containers that she bought to save money, ... but authentic, burpable, lidded Tupperware; and she knew he would see ... with a sort of wondrous dismay -- the wheezy shriek was just the sort ... romance novels not to read ...
    (soc.motss)
  • Re: Merging mixed data sets
    ... sorting a vector of containers may not be as slow as I ... O) to sort, Oto eliminate duplicates. ... For the initial element in hint is merged.end. ...
    (comp.lang.cpp)