The list above is our way of giving feedback and making changes when doing something. We don’t use all of our feedback to make improvements, but it’s not a bad thing to make changes.
I’m pretty sure this is what you actually feel when you look at the list. When you iterate over a list you’re not doing anything new. You’re just going through the motions of a normal workflow. When you use the list instead of something else you’re making an improvement on.
r iterate over a list is very similar to the concept of refactoring. Refactoring is the process of changing the way something works, but in this case its just iterating over a list (or a list of other things).
Refactoring is probably the hardest part of the whole process. Not having to worry about writing the same code over and over again makes it fun, but having to make the changes is the most difficult part. You have to spend a good amount of time going through all of the code, making sure you’re making the changes that will make things better.
Iterating over an ordered list is a very common task, but one that can be difficult to get right. What I like is the way that lists support iteration. Every time you type in a new value, it will be compared to all of the existing values of that list. If you want to change an element, you just select that element and change it. This makes it a bit easier to iterate on an ordered list, but not as easy as iterating on a list of numbers.
You can actually iterate over a list of numbers by just moving your cursor up and down one line at a time. The order doesn’t matter, and you can even scroll through with the arrow keys. It’s like a word processor.
r iterate over a list should be the first thing you do when you are writing code. The speed difference between a recursive function that iterates over a list of numbers and a one-liner that iterates over a list of numbers is huge. This may be why r iterate over list was chosen over a one-liner for this tutorial. A recursive list is just iterating over the list, and a one-liner is iterating over a list using the arrow keys.
This is the most common way to make things easier. It is a two-liner, the same way that the first time you use a function. The first one is just the syntax to iterate over the list.
The second one is the way that you’re supposed to iterate over the list. It’s not that nice, but it’s easier.