watchandcode-extra
watchandcode-extra is my daily JavaScript practice tool. It generates assignments for me and checks my work: it brings back exercises I’ve already done so I keep them, adds new ones that build on them, and tests and grades every solution I write. For now, it’s built for my own use only.
Credit to Watch and Code
This project stands entirely on the shoulders of Watch and Code, the programming course I followed until I had to stop for personal reasons. I still miss it. The approach is theirs: FoundationScript, a small and deliberate subset of JavaScript; working out requirements and design before writing code; and thinking about time and space complexity. Nothing replaces the course’s mentor reviews. This app is my way of keeping that practice alive in the meantime.
Training on my earlier practice material
Exercises I solved once tend to fade. This app brings them back:
- My course exercises come first. Each level opens with the algorithm problems I already did in the Watch and Code course, so I practise them again from a blank editor rather than just rereading old solutions.
- Then new ones in the same spirit. After those, each level adds original exercises that extend the same ideas: in-place array work, partitioning, and deriving sorting and searching algorithms myself.
- Spaced review. Finished exercises return after 1, 3, 7, 21 and 60 days. Each redo starts from scratch, so the skill sticks instead of the memory of an answer.
The course’s own problems stay in a private repository.
How it works
- FoundationScript only. A checker flags anything outside the subset, with line numbers.
- Four parts per exercise. Requirements, design, implementation, and time and space complexity. Tests only confirm the code works. Each part is also graded on correctness and completeness.
- Solve first, then analyse. The complexity question opens once all tests pass. If my solution is slower or uses more memory than the standard for that level, the exercise comes back.
- Mastery, not the calendar. A new level opens only after two clean passes at the level below. A pass is clean when I used at most one hint and didn’t need another attempt.
- Hints in steps. Each part has its own ladder of hints, so I only take as much help as I need.