lua
lua copied to clipboard
High-scores has high cognitive load for new Lua users (mentoring feedback)
High-Scores is quite early in the list of exercises. It's probably the first one to introduce colon notation and the idea of a function returning a table with functions. I've had a few mentoring sessions where the user was pretty lost.
I don't have any concrete suggestions at the moment. Some thoughts:
- add an introduction.md.append file to discuss:
- closures and/or OOP in Lua
- return values from modules
- colon notation versus dot notation
- flesh out the stub file a bit
- move the exercise later in the list of exercises and/or bump the difficulty
Examples:
- https://exercism.org/mentoring/requests/71934aafebe9427db0e59257d59eb4b1
- https://discord.com/channels/854117591135027261/1181639884360912956 and the corresponding https://exercism.org/mentoring/requests/cc9f908f8dd34af5ba7b245a2cf08dce
Thanks for the feedback. I'll flesh out the stub, bump the difficulty, and move it so that it comes after Binary Search.