I thought your for loop implementation for the weird_double method was concise and highly readable. To be sure, this is the structure I'm most familiar with, as opposed to each_do or another iterative method. Regardless, I benefited from reading your technique, because it seemed like the logic flowed naturally, most likely, because, as you said, you laid your your approach in pseudocode prior to executing on it. Maybe in the future you could try and compress some of these blacks of code into single lines by linking methods in order to D.R.Y. it out! Nice work!
I thought your for loop implementation for the weird_double method was concise and highly readable. To be sure, this is the structure I'm most familiar with, as opposed to each_do or another iterative method. Regardless, I benefited from reading your technique, because it seemed like the logic flowed naturally, most likely, because, as you said, you laid your your approach in pseudocode prior to executing on it. Maybe in the future you could try and compress some of these blacks of code into single lines by linking methods in order to D.R.Y. it out! Nice work!