Lets close the topic. Keep them both. On Thu, Oct 29, 2015 at 8:47 AM, feza <[email protected]> wrote:
> My only problem with `=` vs `in` > is that even the base julia code is inconsistent! Looking at one file ( I > can't remember which now) > it had both > i = 1:nr > and > i in 1:n > Again this was in the same file! Please tell me I am not being pedantic > when I saw this and thought this must be fixed if even the base is being > inconsistent. > > On Thursday, October 29, 2015 at 8:44:03 AM UTC-4, mschauer wrote: >> >> Do we want to give up on this topic? Then we should do so in an earnest >> way and close the case with a clear message, ideally after >> establishing if we want to add a style recommendation about the use of >> ``=`` and ``in`` to >> http://docs.julialang.org/en/release-0.4/manual/style-guide/. Currently >> the manual states in the control-flow chapter "In general, the for loop >> construct can iterate over any container. In these cases, the alternative >> (but fully equivalent) keyword in is typically used instead of =, since >> it makes the code read more clearly." >> >
