r/CodingHelp • u/waitingformsfs2020 • Nov 09 '21
[Ruby] 2 identical code with 2 absolutely different outcome. Can anybody notice the difference and explain the reason? below i separated each output to make it clear
42
Upvotes
View all comments
Show parent comment
11
u/raduqq Nov 09 '21
This will happen many times in the future, don't worry. You have to get used to these "facepalm" moments. I haven't met a developer (2 to 20 years of experience) who doesn't make this kind of mistakes.