From 7c980c6af5adb0932f0920b014ec0a8711e9c9b1 Mon Sep 17 00:00:00 2001 From: Timo Kluck Date: Fri, 29 May 2020 10:06:07 +0200 Subject: [PATCH] noteworthy-differences: remove mention of pre-1.0 "change of syntax" (#36068) This mention of how the syntax has changed is not relevant for current newcomers-from-c(++), and it makes Julia look a bit unstable. Also add a reference to array construction manual. --- doc/src/manual/noteworthy-differences.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/manual/noteworthy-differences.md b/doc/src/manual/noteworthy-differences.md index d5f074fe0c67e..5ca2bfe6f6bad 100644 --- a/doc/src/manual/noteworthy-differences.md +++ b/doc/src/manual/noteworthy-differences.md @@ -254,7 +254,7 @@ For users coming to Julia from R, these are some noteworthy differences: * Julia arrays are indexed with square brackets, and can have more than one dimension `A[i,j]`. This syntax is not just syntactic sugar for a reference to a pointer or address as in C/C++. See - the Julia documentation for the syntax for array construction (it has changed between versions). + [the manual entry about array construction](@ref man-multi-dim-arrays). * In Julia, indexing of arrays, strings, etc. is 1-based not 0-based. * Julia arrays are not copied when assigned to another variable. After `A = B`, changing elements of `B` will modify `A` as well. Updating operators like `+=` do not operate in-place, they are equivalent to `A = A + B`