In #126, Anagram was the main reason we restructured our problem track. In that restructuring I grouped all of the "Lifeteme" problems together and moved them to be much later in the track.
But you can pass the Anagram test suite without lifetimes. Which, if I'd thought about it for more than 2 seconds, I may have realized.
I'm wondering if there's a way to change the Anagram test suite to either require or prevent a solution that uses lifetimes. And, if so, would we want to.
Pros & Cons of Forcing Lifetimes (or No Lifetimes)
Pros
- Lets us position the problem more exactly
- Lets us use the problem as a way to teach Lifetimes (assuming we force lifetimes)
Cons
If this is possible, then I'm also wondering if we could provide 2 test suites, one with Lifetimes & one without, so that students could see both in action.
In #126, Anagram was the main reason we restructured our problem track. In that restructuring I grouped all of the "Lifeteme" problems together and moved them to be much later in the track.
But you can pass the Anagram test suite without lifetimes. Which, if I'd thought about it for more than 2 seconds, I may have realized.
I'm wondering if there's a way to change the Anagram test suite to either require or prevent a solution that uses lifetimes. And, if so, would we want to.
Pros & Cons of Forcing Lifetimes (or No Lifetimes)
Pros
Cons
If this is possible, then I'm also wondering if we could provide 2 test suites, one with Lifetimes & one without, so that students could see both in action.