Which concepts known from Python programming are useful in understanding Julia and which are not?

The updated doc is here: Noteworthy Differences from other Languages · The Julia Language

  • Julia’s range indexing has the format of x[start:step:stop], whereas Python’s format is x[start:(stop+1):step]. Hence, x[0:10:2] in Python is equivalent to x[1:2:10] in Julia. Similarly, x[::-1] in Python, which refers to the reversed array, is equivalent to x[end:-1:1] in Julia.
7 Likes