exercism / scala

Exercism exercises in Scala.
https://exercism.org/tracks/scala
MIT License
123 stars 131 forks source link

Create stub files for all exercises #617

Closed kytrinyx closed 4 years ago

kytrinyx commented 5 years ago

We have decided to require all file-based tracks to provide stubs for their exercises.

The lack of stub file generates an unnecessary pain point within Exercism, contributing a significant proportion of support requests, making things more complex for our students, and hindering our ability to automatically run test-suites and provide automated analysis of solutions.

We believe that it’s essential to understand error messages, know how to use an IDE, and create files. However, getting this right as you’re just getting used to a language can be a frustrating distraction, as it can often require a lot of knowledge that tends to seep in over time. At the start, it can be challenging to google for all of these details: what file extension to use, what needs to be included, etc. Getting people up to speed with these things are not Exercism’s focus, and we’ve decided that we are better served by removing this source of confusion, letting people get on with actually solving the exercises.

The original discussion for this is at https://github.com/exercism/discussions/issues/238.

Therefore, we’d like this track to provide a stub file for each exercise.

ricemery commented 5 years ago

@kytrinyx - question - what belongs in the stubs? Is it enough to just have an empty file for the more difficult exercises? Or, are the stubs supposed to contain the class and function signatures??

Thanks

kytrinyx commented 5 years ago

The stubs almost certainly shouldn't have function signatures. For some languages an empty file is probably enough; if there are any require or import or include statements that are necessary that wouldn't be obvious to someone unfamiliar to the language, that would be a good thing to have in there.

ricemery commented 5 years ago

checklist of exercises to update