The wordlength "refactoring"

Hmmm Is there a particular reason why we are not calling the method you just had use create : GetHiddenWordLength(’) instead of HiddenWord.length() ?

I was wondering that too, I ended up using the function we created, it does the same thing, as far as I know :slight_smile:

1 Like

Presumably it’s because we’re doing a bit of extra work for the purpose of learning. There are numerous places where simply calling the method can be done in place of what’s been demonstrated, but I’d guess it has to do with understanding some basics over following a completely optimized solution.

2 Likes

Privacy & Terms