c icon indicating copy to clipboard operation
c copied to clipboard

More documentation to `Grade School`

Open MathieuSoysal opened this issue 2 years ago • 1 comments

Introduction

Currently, I'm doing the exercise Grade School.

Question

I wanted to know why we don't have a method inside grade_school.h?

MathieuSoysal avatar Aug 13 '23 15:08 MathieuSoysal

This was done on purpose.

Here at Exercism the instructions give some motivation and describe the task from a high-level perspective. All the details, the exact requirements, are specified by the tests. Reading the tests is part of the task.
For some tasks the .h is provided completely or (like in this case) just the data structures but in general it shouldn't be hard to extract the required data structures and functions from the tests.

Concrete: Did you find it difficult to read the tests and understand what you're supposed to do?

Whether a complete .h file should be provided or not has been discussed a few times in the past. The maintainers decided that they like the current state the most. If you want you can try to convince them otherwise.

siebenschlaefer avatar Aug 13 '23 16:08 siebenschlaefer