my_routine
do
@from list.after
end
my_routine
do
from list.start until list.after loop
list.forth
end
end
my_routine
do
@from i > x
end
my_routine
do
from i := 1 until i > x loop
i := i + 1
end
end
--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
For more options, visit https://groups.google.com/d/optout.
--
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
All this is extremely interesting.
The contributors are expert Eiffel users. I would like to make sure that we keep the needs of novices in mind. If an iteration over 1 |..| 10 is not optimal, as Alexander Kogtenkov pointed out, this is important for advanced users (for whom, presumably, the top value is much more than 10 – for 10, who really cares?). But this may not be the first information that you have to learn about iteration. If iterating about 1 |..| n is simple and straightforward, as it is in fact (in my opinion at least), the documentation should highlight this form of iteration, early on. After people have learned the concepts in a first section, they can see a later section on “Performance considerations”. In the first section, the key goal, perhaps the only one, is to teach the basic concepts concisely, so that people appreciate their simplicity and ease of use, and can start using them right away. (Yes, I know, there’s the risk that someone will get carried away, write “across 1 |..| 10_000_000” and post that this Eiffel thing is horribly inefficient. But the alternative is much worse: people being presented with techniques to be told immediately that they are bad! One should never do that. Present the techniques from the viewpoint of clear, elegant, easy-to-learn concepts, and discuss optimization separately.)
Another example is tuples. Performance-conscious large-scale Eiffel programming often avoids repeated calls of the form r ([a, b, c]) if it can instead use r (t) where t is a tuple that can be reused, rather than allocated anew each time. (Rough description of a general heuristic, not exact advice.) This is not something we want to introduce first when describing tuples. We explain the concept, and for those who go further we provide optimization techniques.
All this not to disagree with any of the previous message, but to remind ourselves that we are not just talking to each other.
With best regards,
-- Bertrand Meyer
LASER summer school, Elba island,2-10 June, bitcoin/blockchains, https://www.laser-foundation.org/school/
--
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users+unsubscribe@googlegroups.com.
EiffelStudio version: 16 (16.05.9.8969 GPL Edition - linux-x86-64)
C Compiler: gcc version 4.8.4
Exe type: finalized exe
Code inlining: level 2
OS: Linux Mint 17.1
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
EiffelStudio version: 18.1 (18.01.10.1424 GPL Edition - win64)
C Compiler: Microsoft
Exe type: finalized exe
Code inlining: (inlining size = empty)
OS: Windows 10
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users+unsubscribe@googlegroups.com.