One nice thing about Julia is that she borrows many (though not all) good
ideas from other languages. In this case, enumerate came from Python
(although it likely has other incarnations).

Cheers!
   Kevin

On Thursday, May 15, 2014, Billou Bielour <jonathan.bie...@epfl.ch> wrote:

> I was thinking the same thing the other day, when using *for x in xs* I
> often find myself needing an index at some point and then I have to change
> the for loop, or write an index manually.
>
> Enumerate is exactly what I need in this case.
>
> +1 for Julia
>
>

Reply via email to