exercism / exercism

Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
https://exercism.org
7.36k stars 1.03k forks source link

For learning exercises, show the exemplar in community solutions #5982

Open angelikatyborska opened 3 years ago

angelikatyborska commented 3 years ago

When I looked up the community solutions of one of the learning exercises that I designed, I was shocked to find most of them full of anti-patterns and almost none of them using the simplest approach presented in the exemplar. I worry that other students will look at those and learn from them in a negative way.

To mitigate this, we could always show the exemplar solution as the first community solution (implicitly assuming it has infinite stars).

I know this would be a lot of work because the whole platform was designed with the assumption that a solution was submitted by an user. Maybe there could be an Exercism bot user that always submits all the exemplars and automatically gets a lot of stars? 🙃

Or maybe instead of the exemplar, the exercises' authors' solutions could always be highlighted, assuming the authors know best how to solve the exercise.

Or, there could be a totally separate UI, unrelated to community solutions, for showing the exemplar after completing a learning exercise.

iHiD commented 3 years ago

Yo. Good points.

I think the solution here is really in "Approaches", which didn't make it to v3. As a reminder, those were curated posts/docs that sat alongside the community solutions, which outlined different approaches people take and compare them to each other, etc. For Learning Exercises they could show the examplar, and maybe discuss that "with more advanced knowledge you could do XYZ".

There's maybe an interim solution where we a page (no idea where we link it from) that has that page for Learning Exercises for now.

SleeplessByte commented 3 years ago

There's maybe an interim solution where we a page (no idea where we link it from) that has that page for Learning Exercises for now.

I would drop it as the first item, different colour/highlight/whatever in the community solutions. It makes the most sense for discoverability! I would personally think that this solution is not starrable 😬, because it's not a solution by a user.

BethanyG commented 3 years ago

+1 for having it as the "first" community solution -- maybe with a border/flare or shaded background & a bot for a user? No stars, but the first one seen, and no ability to star.

tyoc213 commented 2 years ago

There could be more than 1 better alternative for a possible solution I think, maybe number of stars could be the way? (and is already there)

or maybe if the stars are from a menthor