-
-
Notifications
You must be signed in to change notification settings - Fork 945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[csharp/matrix] Basic csharp mentoring notes for the matrix problem #2213
base: main
Are you sure you want to change the base?
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
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? |
The Exercism forums is the place to discuss topics such as these. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@exercism/csharp can you quickly check so we can get this merged?
Solution without Linq: | ||
```csharp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solution without Linq: | |
```csharp | |
Solution without Linq: | |
```csharp |
Solution with Linq: | ||
```csharp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solution with Linq: | |
```csharp | |
Solution with Linq: | |
```csharp |
### Common suggestions: | ||
*Good suggestions specific to this exercise. Good lessons that emerge from it.* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Common suggestions: | |
*Good suggestions specific to this exercise. Good lessons that emerge from it.* | |
### Common suggestions | |
### Talking points: | ||
*Questions to challenge more advance learners with.* | ||
|
||
- The differences between multidimensional and jagged arrays in general and in C#. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### 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#. |
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
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.