Skip to content

Instantly share code, notes, and snippets.

@jillmd501
Created February 16, 2016 00:43
Show Gist options
  • Save jillmd501/abc36d28d9e3392d4bd5 to your computer and use it in GitHub Desktop.
Save jillmd501/abc36d28d9e3392d4bd5 to your computer and use it in GitHub Desktop.

Hamming

my code here

  • rpass here - Rather than explicitly defining the two strands as variables, rpass actually went ahead and passed them in which seemed to make it more streamlined.
  • mbukantz here - This is pretty similar to mine, but this guy is using a counter to track momvements.
  • nicrocs here - This method combined everything into one function - not realaly following SRP but still works!
  • toriejw here - Its Torie! Cool. Torie's is on the longer side but very easy to follow along with which I appreciate. :)
  • jingweih here - I am not entirely sure this would even work as it looks like it is missing a lot of funcitionality. Also, they are throwing a hard coded error versus JS errors.

RNA

my code here

  • lvarayut here - I really like how they refactored the hell out of this one.
  • obojdi here - I really need to get out of my if/else rut as this sample is much cleaner.
  • Angeldude here - Rather than using +=, angeldude (lol) used return instead.
  • meobyte here - Meobyte used a split method to break up the characters which makes sense and I probably could have used.
  • forty9er here - forty9er used key and hash pairs to go through each strand which makes sense and reminded me of modue 1 days (le sigh).

Leap

my code here

  • mfhholmes here - In this one, he assigned self to equal this which I bypassed.
  • AmitaPatel3 here - This example combined the modulo of 400 and 100 into the same line with a && connector.
  • annejhetson here - This example had one super long return phrase and combined everything in it.
  • peter-halligan here - This looks like it could definitely use some refactoring in its if/else statements.
  • enlore here - In this one they exported year at the top which I didn't know I could do!
@rrgayhart
Copy link

It's always bizarre when you find an exercism submission that's like 'bro, did you even run the tests? You know that's the entire point, right?'

Also. 'angeldude'........

Good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment