Open MicFin opened 7 years ago
I'm not opposed. I'd want to keep the short solutions as well. Maybe a refactoring of brute force solutions to DRY solutions?
I like the idea of a more verbose and commented solution. The refactored solution is great as an exercise in understanding that piece of code. I like the idea of having both. Thinking of code wars, looking through the solutions and comments on the solutions is a great way to learn new techniques and thought processes. I wonder if having a way for students to submit solutions to challenges and have others comment on them, maybe in something like public gists, would be useful / appropriate.
The current solution uses
array methods
andfunctions ins and outs
which are not covered yet when Boggle is presented. I recognize it is a challenge so it should push their boundaries and the solution is very elegant. I wonder if also having a more verbose solution would be a nice addition to the solution branch. I've also added comments to the solution, I find comments very useful especially for new developers. Comments can often answer questions that they might otherwise ask a consultant.