Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #5807

A class being BOTH a factory of iterators and an iterator

Path csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail
From Victor Porton <porton@narod.ru>
Newsgroups comp.programming
Subject A class being BOTH a factory of iterators and an iterator
Date Fri, 04 Sep 2015 21:48:26 +0300
Organization Aioe.org NNTP Server
Lines 10
Message-ID <mscp1o$4ip$1@speranza.aioe.org> (permalink)
NNTP-Posting-Host 789z/vFFztmOQ/etbIfqnA.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Complaints-To abuse@aioe.org
User-Agent KNode/4.14.1
X-Notice Filtered by postfilter v. 0.8.2
Xref csiph.com comp.programming:5807

Show key headers only | View raw


Is it sane that a class which is a factory for iterators, itself to be an 
iterator (a default iterator so to say)?

It may be convenient especially for Web masters which don't know what 
iterator is.

Your opinion?

-- 
Victor Porton - http://portonvictor.org

Back to comp.programming | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

A class being BOTH a factory of iterators and an iterator Victor Porton <porton@narod.ru> - 2015-09-04 21:48 +0300
  Re: A class being BOTH a factory of iterators and an iterator Kaz Kylheku <kaz@kylheku.com> - 2015-09-04 20:07 +0000

csiph-web