Let me summarize what you have learned about the area so far.
In summary, and Erra is a collection of zero or more elements, unlike some other programming languages
in your areas are very simple and pure.
They store their elements in contiguous memory locations.
This makes them very fast and very efficient.
In addition to that, Engo and arrays length is fixed.
So you can add elements to an array or we can remove the its element type is also fixed.
For example, you can store a string value in an entry and erase elements are unnamed variables.
So you need to use index expressions to access the indexes and go start from zero and goes to the length
of the array minus one.
And lastly, you can use the land function to get the length of an array.
Within Skerrett Bracers, you can declare the length of the area and right next to it, you can declare
the element type of area.
An air race type is consisting of its length and its element as a whole together, as you know, Go
is a static type programming language.
So the types are determined at compile time only.
So that's why an error is linked and the elements are fixed.
That's why you can change its length and add or remove its elements, since its length is a part of
its type and it belongs to compile time so that you can also use constant expressions while setting
its length.
You can also create a new a value by using an air literal, you don't have to initialize old elements.
Godwill initialized on initialize elements to their zero values depending on the arrays element type
for you.
For example, here, initializes the second half of the elements to empty string values, because every
element type is string.
Then use an very literal you don't have to declare the areas land go can find out and raise Lancs by
looking at the number of given elements at compile time.
You can specify the index positions of the elements by using the key elements global, initialize any
unspecified elements to their zero values automatically.
Gore doesn't support multidimensional arrays, however, you can declare an eraser element type as an
array so that you can imitate multidimensional erasing go here Thisara stores to other arrays with three
inch elements.
In most other languages, arrays are reference types, so in those languages, an array indirectly contains
its elements.
However, in your arrays are pure value types so you can go.
An array directly contains all its elements together in a single and contiguous memory block.
This means you assign an array code will create a new array by copying the original array.
Different types of race are neither comparable nor assignable, for example, here, even though the
11 types of these areas are the same, their length are different.
So you can't compare or assign them between each other.
Every composite type is an unnamed type and an underlying type of a composite type is itself, area
is a composite type two, so an area is on the line type itself.
You can define a name to type using a composite type such as an eraser.
Here I am comparing to Ara Literals, the one at the letters and name type, and the other one has an
unnamed type, so you can compare to errors if they're on the line, type is the same.
This is also true for the other composite literals, as you'll see afterward.
Feldon, congrats.
Now, you have learned almost everything about Galeras.
I promised that we were going to build a digital clock project in the U.S., I will keep my promise.
So in the next section, we're going to build it.
Now, where is the next section?