Matthias

Results 63 comments of Matthias

Quoting from the exercise "difference-of-squares": > You are not expected to discover an efficient solution to this yourself from first principles; research is allowed, indeed, encouraged. Finding the best algorithm...

@moshegood How would this exercise look if it were self-contained? Are you thinking of something like this: > A Pythagorean triplet is a set of three natural numbers, {a, b,...

Thank you! There is one subtle issue and two stylistic things. I also have some questions: --- 1. The functions from `` like `std::isalpha()`, `std::isdigit()`, `std::tolower()`, etc. take an `int`...

> As I can understand task template provoke to copy/paste function interface and students write helper functions passing string by value. My tactic depends from student's code idea, usually explain...

Thank you! The whole documents sounds like its target audience are "students", e.g. it explains bitwise left-shifting with an example. But these mentoring notes are for "mentors" who (ideally) should...

@IsaacG Thanks for reminding me. This got lost in my inbox. I have to admit I'm unsure about this. Do we really want to encourage students to solve this exercise...

> I don't think we want to encourage students to solve things in any particular direction. Are you sure about that? I've seen quite a few mentoring notes that said...

Do we really recommend the "manual" approach where numbers from `1` to `n` are generated and summed up? There's a direct and much more efficient solution, and I think that's...

A ~~good~~ efficient solution in Python would look [like this](https://github.com/exercism/python/blob/main/exercises/practice/difference-of-squares/.meta/example.py). I don't know Dart at all but I guess a ~~good~~ efficient solution could look similar to this: ```dart import...

In a discussion two or three years ago I was told that the example solution from the `.meta` directory is not necessarily the best (easiest to read, most idiomatic, most...