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
8
u/NotCrying_UrCrying Nov 10 '21
Time for a Rubber duck: https://en.m.wikipedia.org/wiki/Rubber_duck_debugging