datacamp / authoring

https://authoring.datacamp.com/
Other
8 stars 9 forks source link

Add best practices for how to use comments in DataCamp exercises #148

Closed yashasroy closed 5 years ago

yashasroy commented 6 years ago

The docs are currently missing best practices on how to write good comments in exercises. This is something that first-time instructors are often confused by, as comments in DataCamp exercises are not like comments in general coding.

My explanation for comments in DataCamp exercises is that they are abbreviated instructions. Some common mistakes made by instructors include:

There are other subtleties as well, such as when to include the variable name that the result must be assigned to, and when not to.

richierocks commented 6 years ago

I think the main rules are

richierocks commented 6 years ago

We need a page in here:

https://authoring.datacamp.com/courses/exercises/all-exercise-types/

I'll try and dig out some examples of really good comments (if that's a thing).

richierocks commented 5 years ago

fixed: this is in the style guide