<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://dev.eiffel.com/index.php?action=history&amp;feed=atom&amp;title=Talk%3AAuto-Increment_Proposal</id>
		<title>Talk:Auto-Increment Proposal - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://dev.eiffel.com/index.php?action=history&amp;feed=atom&amp;title=Talk%3AAuto-Increment_Proposal"/>
		<link rel="alternate" type="text/html" href="https://dev.eiffel.com/index.php?title=Talk:Auto-Increment_Proposal&amp;action=history"/>
		<updated>2026-05-25T16:52:08Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://dev.eiffel.com/index.php?title=Talk:Auto-Increment_Proposal&amp;diff=7579&amp;oldid=prev</id>
		<title>Colin-adams at 06:55, 9 March 2007</title>
		<link rel="alternate" type="text/html" href="https://dev.eiffel.com/index.php?title=Talk:Auto-Increment_Proposal&amp;diff=7579&amp;oldid=prev"/>
				<updated>2007-03-09T06:55:06Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;I don't know whether folks really like the side-effecting auto-incrementers or whether they are just taught to program that way in C and its derivatives.&lt;br /&gt;
&lt;br /&gt;
As for incrementors in INTEGER(_*) and CHARACTER(_*), I would say routines&lt;br /&gt;
&lt;br /&gt;
successor: like Current&lt;br /&gt;
&lt;br /&gt;
and predecessor: like Current&lt;br /&gt;
&lt;br /&gt;
to return the next and previous one would be useful accessors (they should not wrap around, and so need pre-conditions for the limts).&lt;br /&gt;
&lt;br /&gt;
and mutators:&lt;br /&gt;
&lt;br /&gt;
increment&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
&lt;br /&gt;
decrement&lt;br /&gt;
&lt;br /&gt;
for the INTEGER(_*) types.&lt;br /&gt;
&lt;br /&gt;
Why you think iterators should be difficult for beginners puzzles me. They are dead easy.&lt;br /&gt;
It is loops that are difficult for beginners (especially loop invariants - they are difficult for me too), &lt;br /&gt;
and should be avoided whenever possible.&lt;br /&gt;
&lt;br /&gt;
Don't teach loops to beginners - teach iterators.&lt;/div&gt;</summary>
		<author><name>Colin-adams</name></author>	</entry>

	</feed>