[csharp/matrix] Basic csharp mentoring notes for the matrix problem#2213
Open
michalporeba wants to merge 2 commits intoexercism:mainfrom
Open
[csharp/matrix] Basic csharp mentoring notes for the matrix problem#2213michalporeba wants to merge 2 commits intoexercism:mainfrom
michalporeba wants to merge 2 commits intoexercism:mainfrom
Conversation
The problem can be solve in a number of ways, and it is good to have the examples ready to guide the students. The alternative solution with multidimensional tables gets unnecessarily complex quickly so is not included.
It is based on the discussion from PR exercism#2212
Contributor
Author
|
Hello, how can I help with reviews? Clearly there is problem with the flow. Is there somebody I could talk to perhaps about contributing to the content in C# track? |
Member
The Exercism forums is the place to discuss topics such as these. |
Member
SleeplessByte
left a comment
There was a problem hiding this comment.
@exercism/csharp can you quickly check so we can get this merged?
Comment on lines
+3
to
+4
| Solution without Linq: | ||
| ```csharp |
Member
There was a problem hiding this comment.
Suggested change
| Solution without Linq: | |
| ```csharp | |
| Solution without Linq: | |
| ```csharp |
Comment on lines
+38
to
+39
| Solution with Linq: | ||
| ```csharp |
Member
There was a problem hiding this comment.
Suggested change
| Solution with Linq: | |
| ```csharp | |
| Solution with Linq: | |
| ```csharp |
Comment on lines
+63
to
+64
| ### Common suggestions: | ||
| *Good suggestions specific to this exercise. Good lessons that emerge from it.* |
Member
There was a problem hiding this comment.
Suggested change
| ### Common suggestions: | |
| *Good suggestions specific to this exercise. Good lessons that emerge from it.* | |
| ### Common suggestions | |
Comment on lines
+69
to
+72
| ### Talking points: | ||
| *Questions to challenge more advance learners with.* | ||
|
|
||
| - The differences between multidimensional and jagged arrays in general and in C#. |
Member
There was a problem hiding this comment.
Suggested change
| ### Talking points: | |
| *Questions to challenge more advance learners with.* | |
| - The differences between multidimensional and jagged arrays in general and in C#. | |
| ### Talking points | |
| - The differences between multidimensional and jagged arrays in general and in C#. |
Comment on lines
+73
to
+79
| In this case the data is dense so there are no memory efficiencies to talk about. | ||
| However, the choice influeces the type of code we can write. | ||
| - There are two problems: parsing of input and responding to queries. | ||
| Both are relatively simple and there is no need for input checking. | ||
| - The problem can be solved with iteration using loops and using Linq. What's the difference? | ||
| Both the parsing and access to column data change. | ||
| The change in parsing is more obvious between very imperative use of two loops vs more declarative expression using linq. |
Member
There was a problem hiding this comment.
Suggested change
| In this case the data is dense so there are no memory efficiencies to talk about. | |
| However, the choice influeces the type of code we can write. | |
| - There are two problems: parsing of input and responding to queries. | |
| Both are relatively simple and there is no need for input checking. | |
| - The problem can be solved with iteration using loops and using Linq. What's the difference? | |
| Both the parsing and access to column data change. | |
| The change in parsing is more obvious between very imperative use of two loops vs more declarative expression using linq. | |
| In this case the data is dense so there are no memory efficiencies to talk about. | |
| However, the choice influences the type of code we can write. | |
| - There are two problems: parsing of input and responding to queries. | |
| Both are relatively simple and there is no need for input checking. | |
| - The problem can be solved with iteration using loops and using Linq. | |
| What's the difference? | |
| Both the parsing and access to column data change. | |
| The change in parsing is more obvious between very imperative use of two loops vs more declarative expression using Linq. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The problem can be solve in a number of ways, and it is good to have the examples ready to guide the students.
The alternative solution with multidimensional tables gets unnecessarily complex quickly so is not included.