my code here
- Responder #1 here - This version took the same approach and minified it! Pretty clever. I kind of like my explicit returns. But this version is def more sleek.
- Responder #2 here - Really cool implementaion of OOP JS. I dont actually understand everything going on here, but it looks easier on my eyes since is it following OOP guidelines.
- Responder #3 here - Its David Daniel! Woot! Cool, clean and simple. Very close to mine, but he leaves out the explicit returns.
- Responder #4 here - Its Tess Griffen! Cool. It's a bit verbose and really uses the if/else conditional blocks. But I like it. It is simple to read.
my code here
- Responder #1 here - Hmm. I dont know if I like this one. Like, It is def not how I would approach it. He really made modular little functions that can be called and are SRP. In fact, It is really easy to see what is going on... But I just dont really like use of
shortest
. It seems overkill. - Responder #2 here - Hmm. I like this. It basically does what I am doing, but is more clever about how it uses the
diff
var. - Responder #3 here - Nice. Again, very similar to mine. I dont like how they checked for
string.length
differences in theelse
block. Seems better to stop the program and throw an error FIRST, rather than second.
my code here
👍