Hi again, dear Collin,
I’ve just finished the exercise above and - I’m sorry - have to report little mistakes and want to make some suggestions…
And have an idea…
#1 In the Concept it says:
A similar issue arises when querying the size of an array. length() gives the total number of elements, size() gives a tuple of ndims() elements with the length of each dimension.
I guess it should be:
→
…size() gives a 1-tuple of elements with the length of each dimension.
(1-tuple containing the number of elements of af DataFrame or a DataFrameRow)
ndims() gives the number/amount of dimensions of an array.
#2 after starting “Exercism Matrix” in the editor…
code with empty functions and parameters are shown…
With an empty constant E=nothing as the specification for the matrix.
In the functions it is also named as ‘E’.
A friend of mine was confused because he uses uppercase for constants and lowercase for variables,
that’s what he learned at university.
The question:
shouldn’t ‘e’ in the function be lowercase, as it is variable?
#3 Hints, Task 5: The dots (e.g. 1, 2, etc.) and 0s need to be changed to Xs and Os, respectively.
→ The dots (e.g. 1, 2, etc.) and 0s need to be changed to Xs and ' 's, respectively.
And…
some suggestions to Collin:
When I started this exercise I used map(x → x,E) which is possible, but maybe a bit inept.
Could you please
add copy() in the first array concept AND
write about indexing that was very confusing to me (as I come from PASCAL where I remember the syntax was [x][y]) in the meantime before having read about it here!
And: a lot of times during the syllabus I sit and wonder how the solution might be…
Later I find that it was so difficult, because thinks were missing or not totally correct or I did not really get it yet.
Because of this I have made a few considerations:
while doing this exercise it was still not fully clear to me
how to
- copy an array (copy) as it wasn’t mentioned in the syllabus before and
- use map for easy tasks
I guess I mentioned it before but it still has impact on me:
In the concept Functions (“anonymous function”; optional arguments/parameters)
where map first was mentioned it just said:
“Anonymous functions are common in Julia code, especially when combined with higher-order functions such asmap()andfilter()(which will be covered in more detail in a later concept).”
So for me I thought: well, map isn’t important it will be explained later.
And didn’ have the idea that this could be important.
Could you please reedit this concept and write a bit more about map so that it is clear it’s important (especially for the coming exercise) and how to use it in a basic way. ?!
I would be looking forward to see this being included and think that this would improve the syllabus and make it more easy to figure out solutions for newbies.
And I have an idea:
what about adding a smal quiz after each concept (see below) to improve learning for the students?
thanks for your time and reading this and taking it into your considerations.
with kind regards,
Nisang
